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


##########
pkg/kube/translation/annotations/redirect.go:
##########
@@ -15,11 +15,15 @@
 package annotations
 
 import (
+       "strconv"
+
        apisixv1 
"github.com/apache/apisix-ingress-controller/pkg/types/apisix/v1"
 )
 
 const (
-       _httpToHttps = AnnotationsPrefix + "http-to-https"
+       _httpToHttps           = AnnotationsPrefix + "http-to-https"
+       _permanentRedirect     = AnnotationsPrefix + "permanent-redirect"
+       _permanentRedirectCode = AnnotationsPrefix + "permanent-redirect-code"

Review Comment:
   Do you mean to add test cases for other status codes?



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