mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 04:52:08 +00:00
update_comment
This commit is contained in:
parent
a3e6fd724c
commit
3f3ce8659f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user