Skip to content

Commit f803c11

Browse files
authored
Merge pull request kubernetes#127177 from sanposhiho/bug-deepcopy
fix: include PendingPlugins in QueuedPodInfo.DeepCopy properly
2 parents 2ee6b63 + b456d70 commit f803c11

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)