ronething commented on code in PR #2442: URL: https://github.com/apache/apisix-ingress-controller/pull/2442#discussion_r2179608322
########## internal/provider/adc/config.go: ########## @@ -86,24 +87,27 @@ func (d *adcClient) getConfigsForGatewayProxy(tctx *provider.TranslateContext, g } _, ok := tctx.Services[namespacedName] if !ok { - return nil, errors.New("no service found for service reference") + return nil, errors.Errorf("no service found for service reference: %s", namespacedName) Review Comment: "github.com/pkg/errors" is archived,we can use fmt.Errorf. -- 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. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org