Merge pull request #110108 from ialidzhikov/fix/typo

Nit: Fix a typo
This commit is contained in:
Kubernetes Prow Robot 2022-06-17 14:52:02 -07:00 committed by GitHub
commit dbb6c77de4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ func (m *Matcher) Validate() error {
errs = append(errs, fmt.Errorf("the namespace matcher requires a namespaceLister"))
}
if m.Client == nil {
errs = append(errs, fmt.Errorf("the namespace matcher requires a namespaceLister"))
errs = append(errs, fmt.Errorf("the namespace matcher requires a client"))
}
return utilerrors.NewAggregate(errs)
}