Skip to content

Commit 88a404e

Browse files
committed
added a error logging handler
1 parent b368726 commit 88a404e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cns/middlewares/k8sSwiftV2.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ func (k *K8sSWIFTv2Middleware) IPConfigsRequestHandlerWrapper(defaultHandler, fa
6464
if defaultDenyACLbool {
6565
err = addDefaultDenyACL(ipInfo)
6666
if err != nil {
67-
errors.Wrapf(err, "failed to add default deny acl's for pod %s", podInfo.Name())
67+
logger.Errorf("failed to add default deny acl's for pod %s", podInfo.Name(), err)
6868
}
6969
}
7070
}

0 commit comments

Comments
 (0)