Skip to content

Commit

Permalink
Merge pull request #1365 from ls-2018/master
Browse files Browse the repository at this point in the history
`RemoveDuplicates`: reduce cycle times identifying duplicates
  • Loading branch information
k8s-ci-robot committed Apr 4, 2024
2 parents dd94f2e + 19ced3d commit 364f467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/framework/plugins/removeduplicates/removeduplicates.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ func getTargetNodes(podNodes map[string][]*v1.Pod, nodes []*v1.Node) []*v1.Node
utils.NodeSelectorsEqual(getNodeAffinityNodeSelector(pod), getNodeAffinityNodeSelector(dp)) &&
reflect.DeepEqual(pod.Spec.NodeSelector, dp.Spec.NodeSelector) {
duplicated = true
continue
break
}
}
if duplicated {
Expand Down

0 comments on commit 364f467

Please sign in to comment.