AlinsRan commented on code in PR #2546:
URL: 
https://github.com/apache/apisix-ingress-controller/pull/2546#discussion_r2332576023


##########
internal/adc/translator/httproute.go:
##########
@@ -497,6 +516,10 @@ func (t *Translator) TranslateHTTPRoute(tctx 
*provider.TranslateContext, httpRou
 
                        
t.AttachBackendTrafficPolicyToUpstream(backend.BackendRef, 
tctx.BackendTrafficPolicies, upstream)
                        upstream.Nodes = upNodes
+
+                       upstreamName := 
t.composeUpstreamNameForBackendRef(backend.BackendRef)

Review Comment:
   
https://github.com/apache/apisix-ingress-controller/blob/2d57b6a25d22ed0f14e38b89d51011b475534436/api/adc/types.go#L524
   
   Suggest adjusting the code path and parameters.



-- 
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: [email protected]

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

Reply via email to