tao12345666333 commented on code in PR #1243:
URL:
https://github.com/apache/apisix-ingress-controller/pull/1243#discussion_r970520059
##########
test/e2e/suite-ingress/suite-ingress-resource/ssl.go:
##########
@@ -158,9 +158,7 @@
RU+QPRECgYB6XW24EI5+w3STbpnc6VoTS+sy9I9abTJPYo9LpCJwfMYc9Tg9Cx2K
assert.Nil(ginkgo.GinkgoT(), err, "list tls error")
assert.Len(ginkgo.GinkgoT(), tls, 1, "tls number not
expect")
assert.Equal(ginkgo.GinkgoT(), tls[0].Snis[0], host,
"tls host is error")
- assert.Equal(ginkgo.GinkgoT(), tls[0].Labels,
map[string]string{
- "managed-by": "apisix-ingress-controller",
- })
+ assert.Equal(ginkgo.GinkgoT(),
tls[0].Labels["managed-by"], "apisix-ingress-controller")
Review Comment:
I think it is possible to check both meta_secret_namespace and
meta_secret_name
--
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]