mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-31 08:36:16 +00:00
Fix the incorrect error message of InterPodAffinity
plugin
A line of copy/paste code firstly from the method named `buildTopologyPairToScore`. Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user