Merge pull request #2423 from diazjf/fix-2074

Resolves issue with proxy-redirect nginx configuration
This commit is contained in:
k8s-ci-robot 2018-05-18 12:42:51 -07:00 committed by GitHub
commit aa256ac887
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 179 additions and 7 deletions

View file

@ -262,7 +262,7 @@ func (f *Framework) matchNginxConditions(name string, matcher func(cfg string) b
glog.Infof("nginx.conf:\n%v", o)
}
if matcher(o) {
if matcher(strings.Join(strings.Fields(o), " ")) {
match = true
}
})