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

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)
}