Skip to content

Commit b456d70

Browse files
committed
fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly
1 parent bce499c commit b456d70

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/scheduler/framework/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ func (pqi *QueuedPodInfo) DeepCopy() *QueuedPodInfo {
264264
Attempts: pqi.Attempts,
265265
InitialAttemptTimestamp: pqi.InitialAttemptTimestamp,
266266
UnschedulablePlugins: pqi.UnschedulablePlugins.Clone(),
267+
PendingPlugins: pqi.PendingPlugins.Clone(),
267268
Gated: pqi.Gated,
268269
}
269270
}

0 commit comments

Comments
 (0)