Remove conditions from PVC after successful resize

pull/6/head
Hemant Kumar 2017-11-29 10:10:32 -05:00
parent 51033c4dec
commit c0353ca20c
1 changed files with 1 additions and 0 deletions

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 {