fix var checked (#1997)
This commit is contained in:
parent
d1ae7ff29c
commit
86889532aa
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