Skip to content

Commit d531de8

Browse files
committed
added logging lines
1 parent baf31a3 commit d531de8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cns/middlewares/k8sSwiftV2.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ func (k *K8sSWIFTv2Middleware) IPConfigsRequestHandlerWrapper(defaultHandler, fa
6262
for i := range ipConfigsResp.PodIPInfo {
6363
ipInfo := &ipConfigsResp.PodIPInfo[i]
6464
// there will be no pod connectivity to and from those pods
65+
logger.Printf("type of nic is %s", string(ipInfo.NICType))
6566
if defaultDenyACLbool && ipInfo.NICType == cns.InfraNIC {
67+
logger.Printf("adding default deny acl's")
6668
err = addDefaultDenyACL(ipInfo)
6769
if err != nil {
6870
logger.Errorf("failed to add default deny acl's for pod %v with err %v", podInfo.Name(), err)

0 commit comments

Comments
 (0)