Merge pull request #104892 from zzchun/fix-typo-in-node_affinity_test

fix typo in node_affinity_test
This commit is contained in:
Kubernetes Prow Robot 2021-09-23 13:22:55 -07:00 committed by GitHub
commit 24408ef7f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -966,7 +966,7 @@ func TestNodeAffinityPriority(t *testing.T) {
expectedList: []framework.NodeScore{{Name: "machine1", Score: 0}, {Name: "machine2", Score: 0}, {Name: "machine3", Score: 0}},
},
{
name: "no machine macthes preferred scheduling requirements in NodeAffinity of pod so all machines' priority is zero",
name: "no machine matches preferred scheduling requirements in NodeAffinity of pod so all machines' priority is zero",
pod: &v1.Pod{
Spec: v1.PodSpec{
Affinity: affinity1,