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


##########
internal/adc/translator/httproute.go:
##########
@@ -508,11 +531,22 @@ func (t *Translator) TranslateHTTPRoute(tctx 
*provider.TranslateContext, httpRou
                } else if len(upstreams) == 1 {
                        // Single backend - use directly as service upstream
                        service.Upstream = upstreams[0]
+                       // remove the id and name of the service.upstream, adc 
schema does not need id and name for it
+                       service.Upstream.ID = ""

Review Comment:
   it is required?



-- 
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

Reply via email to