cleanup logging message typos in rewrite.go
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
parent
d765faa5ee
commit
8cf384b212
1 changed files with 1 additions and 1 deletions
|
@ -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).
|
||||||
|
|
Loading…
Reference in a new issue