Remove conditions from PVC after successful resize

This commit is contained in:
Hemant Kumar 2017-11-29 10:10:32 -05:00
parent 51033c4dec
commit c0353ca20c

View File

@ -1272,6 +1272,7 @@ func updatePVCStatusCapacity(pvcName string, pvc *v1.PersistentVolumeClaim, capa
}
pvcCopy.Status.Capacity = capacity
pvcCopy.Status.Conditions = []v1.PersistentVolumeClaimCondition{}
newData, err := json.Marshal(pvcCopy)
if err != nil {