Skip to content

Commit

Permalink
scheduler: quota info deepcopy withou pod deepcopy (#2008)
Browse files Browse the repository at this point in the history
Signed-off-by: xulinfei.xlf <xulinfei.xlf@alibaba-inc.com>
Co-authored-by: xulinfei.xlf <xulinfei.xlf@alibaba-inc.com>
  • Loading branch information
xulinfei1996 and xulinfei.xlf committed Apr 16, 2024
1 parent 6b4014a commit c8bfd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scheduler/plugins/elasticquota/core/quota_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func (qi *QuotaInfo) DeepCopy() *QuotaInfo {
},
}
for name, pod := range qi.PodCache {
quotaInfo.PodCache[name] = pod.DeepCopy()
quotaInfo.PodCache[name] = pod
}
return quotaInfo
}
Expand Down

0 comments on commit c8bfd9e

Please sign in to comment.