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
commit 1cbb5d1e51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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