Merge pull request #127177 from sanposhiho/bug-deepcopy

fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly
This commit is contained in:
Kubernetes Prow Robot 2024-09-06 09:48:04 +01:00 committed by GitHub
commit f803c112b8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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,
} }
} }