gxthrj commented on a change in pull request #386:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/386#discussion_r618000085



##########
File path: pkg/ingress/secret.go
##########
@@ -184,9 +184,9 @@ func (c *secretController) onAdd(obj interface{}) {
                return
        }
 
-       log.Debugw("secret add event arrived",
-               zap.Any("object", obj),
-       )
+       //log.Debugw("secret add event arrived",
+       //      zap.Any("object", obj),

Review comment:
       if log "object" with `zap.Any`, got error ` bad access: nil dereference`.
   I changed logging field.

##########
File path: pkg/ingress/endpoint.go
##########
@@ -181,8 +181,8 @@ func (c *endpointsController) onAdd(obj interface{}) {
        if !c.controller.namespaceWatching(key) {
                return
        }
-       log.Debugw("endpoints add event arrived",
-               zap.Any("object", obj))
+       //log.Debugw("endpoints add event arrived",

Review comment:
       if log "object" with `zap.Any`, got error ` bad access: nil dereference`.
   I changed logging field.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to