From b456d705eba1348a33e7ad64ff71ad449c1da031 Mon Sep 17 00:00:00 2001 From: Kensei Nakada Date: Fri, 6 Sep 2024 10:45:40 +0900 Subject: [PATCH] fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly --- pkg/scheduler/framework/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/scheduler/framework/types.go b/pkg/scheduler/framework/types.go index a30bdc14536..d12bf8eb4e6 100644 --- a/pkg/scheduler/framework/types.go +++ b/pkg/scheduler/framework/types.go @@ -264,6 +264,7 @@ func (pqi *QueuedPodInfo) DeepCopy() *QueuedPodInfo { Attempts: pqi.Attempts, InitialAttemptTimestamp: pqi.InitialAttemptTimestamp, UnschedulablePlugins: pqi.UnschedulablePlugins.Clone(), + PendingPlugins: pqi.PendingPlugins.Clone(), Gated: pqi.Gated, } }