Fix a couple of 'does not contains' typos

This commit is contained in:
Andreas Kohn 2017-04-03 12:22:08 +02:00
parent 7d4d0a090d
commit 049790918c
No known key found for this signature in database
GPG key ID: B03FDDBC66E99F92
5 changed files with 8 additions and 8 deletions

View file

@ -139,7 +139,7 @@ func (e *annotationExtractor) ContainsCertificateAuth(ing *extensions.Ingress) b
func (e *annotationExtractor) CertificateAuthSecret(ing *extensions.Ingress) (*api.Secret, error) {
val, _ := parser.GetStringAnnotation("ingress.kubernetes.io/auth-tls-secret", ing)
if val == "" {
return nil, fmt.Errorf("ingress rule %v/%v does not contains the auth-tls-secret annotation", ing.Namespace, ing.Name)
return nil, fmt.Errorf("ingress rule %v/%v does not contain the auth-tls-secret annotation", ing.Namespace, ing.Name)
}
return e.secretResolver.GetSecret(val)