Do not update PVC if it already has updated size

This commit is contained in:
Hemant Kumar
2022-03-08 16:11:49 -05:00
parent c0fbd83cde
commit 7a43406138
15 changed files with 514 additions and 439 deletions

View File

@@ -582,8 +582,9 @@ func (asw *actualStateOfWorld) GetAttachState(
return AttachStateDetached
}
// SetVolumeClaimSize sets size of the volume. But this function should not be used from attach_detach controller.
func (asw *actualStateOfWorld) SetVolumeClaimSize(volumeName v1.UniqueVolumeName, claimSize *resource.Quantity) {
klog.V(5).Infof("doing nothing")
klog.V(5).Infof("NO-OP")
}
func (asw *actualStateOfWorld) GetAttachedVolumes() []AttachedVolume {