Update gofmt for go1.11
This commit is contained in:
@@ -349,9 +349,9 @@ func TestPodFitsResources(t *testing.T) {
|
||||
schedulercache.Resource{MilliCPU: 1, Memory: 1, ScalarResources: map[v1.ResourceName]int64{extendedResourceB: 1}}),
|
||||
nodeInfo: schedulercache.NewNodeInfo(
|
||||
newResourcePod(schedulercache.Resource{MilliCPU: 0, Memory: 0})),
|
||||
fits: true,
|
||||
fits: true,
|
||||
ignoredExtendedResources: sets.NewString(string(extendedResourceB)),
|
||||
name: "skip checking ignored extended resource",
|
||||
name: "skip checking ignored extended resource",
|
||||
},
|
||||
}
|
||||
|
||||
@@ -2983,7 +2983,7 @@ func TestInterPodAffinityWithMultipleNodes(t *testing.T) {
|
||||
"machine3": false,
|
||||
},
|
||||
nodesExpectAffinityFailureReasons: [][]algorithm.PredicateFailureReason{nil, nil, {ErrPodAffinityNotMatch, ErrPodAffinityRulesNotMatch}},
|
||||
name: "A pod can be scheduled onto all the nodes that have the same topology key & label value with one of them has an existing pod that match the affinity rules",
|
||||
name: "A pod can be scheduled onto all the nodes that have the same topology key & label value with one of them has an existing pod that match the affinity rules",
|
||||
},
|
||||
{
|
||||
pod: &v1.Pod{
|
||||
|
||||
Reference in New Issue
Block a user