Merge pull request #4459 from ethan-daocloud/patch-1

cleanup logging message typos in rewrite.go
This commit is contained in:
Kubernetes Prow Robot 2019-08-16 16:22:10 -07:00 committed by GitHub
commit 9b59b62d20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -208,7 +208,7 @@ var _ = framework.IngressNginxDescribe("Annotations - Rewrite", func() {
return strings.Contains(server, `location ~* "^/foo/bar/(.+)" {`) return strings.Contains(server, `location ~* "^/foo/bar/(.+)" {`)
}) })
By("check that '/foo/bar/bar' redirects to cusotm rewrite") By("check that '/foo/bar/bar' redirects to custom rewrite")
resp, body, errs := gorequest.New(). resp, body, errs := gorequest.New().
Get(f.GetURL(framework.HTTP)+"/foo/bar/bar"). Get(f.GetURL(framework.HTTP)+"/foo/bar/bar").
Set("Host", host). Set("Host", host).