mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
fix typo
MatchExpressions , fix typo
This commit is contained in:
parent
4468565250
commit
fabd449d7f
@ -435,7 +435,7 @@ func (p *PodWrapper) NodeAffinityIn(key string, vals []string, t NodeSelectorTyp
|
||||
return p
|
||||
}
|
||||
|
||||
// NodeAffinityNotIn creates a HARD node affinity (with MatchExpressinos and the operator NotIn)
|
||||
// NodeAffinityNotIn creates a HARD node affinity (with MatchExpressions and the operator NotIn)
|
||||
// and injects into the inner pod.
|
||||
func (p *PodWrapper) NodeAffinityNotIn(key string, vals []string) *PodWrapper {
|
||||
if p.Spec.Affinity == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user