diff --git a/pkg/utils/pod.go b/pkg/utils/pod.go index 39e02aaf0..0063fa562 100644 --- a/pkg/utils/pod.go +++ b/pkg/utils/pod.go @@ -105,7 +105,7 @@ func IsPodWithLocalStorage(pod *v1.Pod) bool { return false } -// IsPodWithLocalStorage returns true if the pod has claimed a persistent volume. +// IsPodWithPVC returns true if the pod has claimed a persistent volume. func IsPodWithPVC(pod *v1.Pod) bool { for _, volume := range pod.Spec.Volumes { if volume.PersistentVolumeClaim != nil {