Pass through the original error text
This commit is contained in:
parent
60926d4cca
commit
e62bfff135
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ func (a authTLS) Parse(ing *extensions.Ingress) (interface{}, error) {
|
|||
|
||||
_, _, err = k8s.ParseNameNS(tlsauthsecret)
|
||||
if err != nil {
|
||||
return &AuthSSLConfig{}, ing_errors.NewLocationDenied("secret name must include the namespace")
|
||||
return &AuthSSLConfig{}, ing_errors.NewLocationDenied(err.Error())
|
||||
}
|
||||
|
||||
tlsdepth, err := parser.GetIntAnnotation(annotationAuthTLSDepth, ing)
|
||||
|
|
Loading…
Reference in a new issue