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



##########
File path: pkg/ingress/apisix_upstream.go
##########
@@ -122,6 +133,8 @@ func (c *apisixUpstreamController) sync(ctx 
context.Context, ev *types.Event) er
        svc, err := c.controller.svcLister.Services(namespace).Get(name)
        if err != nil {
                log.Errorf("failed to get service %s: %s", key, err)
+               message := fmt.Sprintf(_messageResourceFailed, 
_upstreamController, err.Error())

Review comment:
       Yes, I will refactor it.




-- 
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:
us...@infra.apache.org


Reply via email to