fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly

This commit is contained in:
Kensei Nakada 2024-09-06 10:45:40 +09:00
parent bce499c136
commit b456d705eb

View File

@ -264,6 +264,7 @@ func (pqi *QueuedPodInfo) DeepCopy() *QueuedPodInfo {
Attempts: pqi.Attempts, Attempts: pqi.Attempts,
InitialAttemptTimestamp: pqi.InitialAttemptTimestamp, InitialAttemptTimestamp: pqi.InitialAttemptTimestamp,
UnschedulablePlugins: pqi.UnschedulablePlugins.Clone(), UnschedulablePlugins: pqi.UnschedulablePlugins.Clone(),
PendingPlugins: pqi.PendingPlugins.Clone(),
Gated: pqi.Gated, Gated: pqi.Gated,
} }
} }