Replace string with constant
Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
1fb7c68d47
commit
64f7bf84ba
1 changed files with 2 additions and 2 deletions
|
@ -435,7 +435,7 @@ http {
|
|||
})
|
||||
|
||||
ginkgo.It("user with annotated ingress retains cookie if upstream returns error status code", func() {
|
||||
annotations["nginx.ingress.kubernetes.io/auth-always-set-cookie"] = "true"
|
||||
annotations["nginx.ingress.kubernetes.io/auth-always-set-cookie"] = enableAnnotation
|
||||
f.UpdateIngress(ing1)
|
||||
f.UpdateIngress(ing2)
|
||||
|
||||
|
@ -661,7 +661,7 @@ http {
|
|||
framework.Sleep()
|
||||
|
||||
annotations["nginx.ingress.kubernetes.io/auth-keepalive"] = "10"
|
||||
annotations["nginx.ingress.kubernetes.io/auth-keepalive-share-vars"] = "true"
|
||||
annotations["nginx.ingress.kubernetes.io/auth-keepalive-share-vars"] = enableAnnotation
|
||||
f.UpdateIngress(ing)
|
||||
|
||||
f.WaitForNginxServer("",
|
||||
|
|
Loading…
Reference in a new issue