mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #91894 from chendave/podaffinity_comments
Fix the incorrect error message of `InterPodAffinity` plugin
This commit is contained in:
commit
1cbb5d1e51
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user