mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #103630 from mysunshine92/controller_util-annotation
Modify the wrong comment for controller_util.go
This commit is contained in:
commit
4e832a7db9
@ -833,7 +833,7 @@ func (s ActivePodsWithRanks) Less(i, j int) bool {
|
||||
return !podutil.IsPodReady(s.Pods[i])
|
||||
}
|
||||
|
||||
// 4. higher pod-deletion-cost < lower pod-deletion cost
|
||||
// 4. lower pod-deletion-cost < higher pod-deletion cost
|
||||
if utilfeature.DefaultFeatureGate.Enabled(features.PodDeletionCost) {
|
||||
pi, _ := helper.GetDeletionCostFromPodAnnotations(s.Pods[i].Annotations)
|
||||
pj, _ := helper.GetDeletionCostFromPodAnnotations(s.Pods[j].Annotations)
|
||||
|
Loading…
Reference in New Issue
Block a user