mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Fix a typo
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
This commit is contained in:
parent
b1aa1bd308
commit
b2fc44f3f0
@ -45,7 +45,7 @@ func (m *Matcher) Validate() error {
|
|||||||
errs = append(errs, fmt.Errorf("the namespace matcher requires a namespaceLister"))
|
errs = append(errs, fmt.Errorf("the namespace matcher requires a namespaceLister"))
|
||||||
}
|
}
|
||||||
if m.Client == nil {
|
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)
|
return utilerrors.NewAggregate(errs)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user