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



##########
File path: pkg/kube/apisix/apis/config/v2beta1/types.go
##########
@@ -53,14 +55,14 @@ type ApisixRouteHTTP struct {
        Priority int                  `json:"priority,omitempty" 
yaml:"priority,omitempty"`
        Match    ApisixRouteHTTPMatch `json:"match,omitempty" 
yaml:"match,omitempty"`
        // Deprecated: Backend will be removed in the future, use Backends 
instead.
-       Backend ApisixRouteHTTPBackend `json:"backend" yaml:"backend"`
+       Backend v2alpha1.ApisixRouteHTTPBackend `json:"backend" yaml:"backend"`

Review comment:
       Just for reusing the structures and the translation logic will be reused 
too.




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