fix var checked (#1997)
This commit is contained in:
parent
7e831c162f
commit
425d811547
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ func (a proxy) Parse(ing *extensions.Ingress) (interface{}, error) {
|
|||
}
|
||||
|
||||
prf, err := parser.GetStringAnnotation("proxy-redirect-from", ing)
|
||||
if err != nil || rb == "" {
|
||||
if err != nil || prf == "" {
|
||||
prf = defBackend.ProxyRedirectFrom
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue