Merge pull request #91894 from chendave/podaffinity_comments

Fix the incorrect error message of `InterPodAffinity` plugin
This commit is contained in:
Kubernetes Prow Robot
2020-06-08 21:44:45 -07:00
committed by GitHub

View File

@@ -137,7 +137,7 @@ func (pl *InterPodAffinity) PreScore(
}
if pl.sharedLister == nil {
return framework.NewStatus(framework.Error, fmt.Sprintf("BuildTopologyPairToScore with empty shared lister"))
return framework.NewStatus(framework.Error, fmt.Sprintf("InterPodAffinity PreScore with empty shared lister found"))
}
affinity := pod.Spec.Affinity