Skip to content

Commit 1cbb5d1

Browse files
authored
Merge pull request kubernetes#91894 from chendave/podaffinity_comments
Fix the incorrect error message of `InterPodAffinity` plugin
2 parents 5d7cac8 + 02fb338 commit 1cbb5d1

File tree

1 file changed

+1
-1
lines changed
  • pkg/scheduler/framework/plugins/interpodaffinity

1 file changed

+1
-1
lines changed

pkg/scheduler/framework/plugins/interpodaffinity/scoring.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (pl *InterPodAffinity) PreScore(
137137
}
138138

139139
if pl.sharedLister == nil {
140-
return framework.NewStatus(framework.Error, fmt.Sprintf("BuildTopologyPairToScore with empty shared lister"))
140+
return framework.NewStatus(framework.Error, fmt.Sprintf("InterPodAffinity PreScore with empty shared lister found"))
141141
}
142142

143143
affinity := pod.Spec.Affinity

0 commit comments

Comments
 (0)