update_comment

This commit is contained in:
moriya 2024-06-02 23:58:06 +09:00
parent a3e6fd724c
commit 3f3ce8659f

View File

@ -326,7 +326,7 @@ func (pl *VolumeZone) isSchedulableAfterPersistentVolumeClaimChange(logger klog.
return framework.QueueSkip, nil
}
// IsPVCRequestedFromPod verifies if the PVC is bound to PV of a given Pod.
// IsPVCRequestedFromPod verifies if the PVC is requested from a given Pod.
func (pl *VolumeZone) IsPVCRequestedFromPod(logger klog.Logger, pvc *v1.PersistentVolumeClaim, pod *v1.Pod) bool {
if (pvc == nil) || (pod.Namespace != pvc.Namespace) {
return false