mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
commit
dbb6c77de4
@ -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