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

@ -125,7 +125,7 @@ func dumpSecret(filename string, secret *api.Secret) error {
val, ok := secret.Data["auth"]
if !ok {
return ing_errors.LocationDenied{
Reason: errors.Errorf("the secret %v does not contains a key with value auth", secret.Name),
Reason: errors.Errorf("the secret %v does not contain a key with value auth", secret.Name),
}
}

View file

@ -65,7 +65,7 @@ func (a ipwhitelist) Parse(ing *extensions.Ingress) (interface{}, error) {
ipnets, err := sets.ParseIPNets(values...)
if err != nil {
return &SourceRange{CIDR: defBackend.WhitelistSourceRange}, ing_errors.LocationDenied{
Reason: errors.Wrap(err, "the annotation does not contains a valid IP address or network"),
Reason: errors.Wrap(err, "the annotation does not contain a valid IP address or network"),
}
}