mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-12-02 19:49:13 +00:00
Use PodInfo instead of Pod for nominatedPods and QueuedPodInfo
This commit is contained in:
@@ -1305,7 +1305,7 @@ func TestFilterPluginsWithNominatedPods(t *testing.T) {
|
||||
|
||||
podNominator := internalqueue.NewPodNominator()
|
||||
if tt.nominatedPod != nil {
|
||||
podNominator.AddNominatedPod(tt.nominatedPod, nodeName)
|
||||
podNominator.AddNominatedPod(framework.NewPodInfo(tt.nominatedPod), nodeName)
|
||||
}
|
||||
f, err := newFrameworkWithQueueSortAndBind(registry, cfgPls, emptyArgs, WithPodNominator(podNominator))
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user