Skip to content

Commit 925b388

Browse files
authored
Merge pull request #1746 from eminaktas/fix/correct-function-comment
fix: correct comment for HaveNoEvictionAnnotation
2 parents e599018 + d47e077 commit 925b388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/descheduler/evictions/utils/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func SupportEviction(client clientset.Interface) (string, error) {
6262
return "", nil
6363
}
6464

65-
// HaveEvictAnnotation checks if the pod have evict annotation
65+
// HaveNoEvictionAnnotation checks if the pod have soft no-eviction annotation
6666
func HaveNoEvictionAnnotation(pod *corev1.Pod) bool {
6767
_, found := pod.ObjectMeta.Annotations[SoftNoEvictionAnnotationKey]
6868
return found

0 commit comments

Comments
 (0)