mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-05-28 04:04:39 -04:00
fix typo
MatchExpressions , fix typo
This commit is contained in:
parent
4468565250
commit
fabd449d7f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue