From c0353ca20c97fe4bd2f51a4df5118687a5b3e6b1 Mon Sep 17 00:00:00 2001 From: Hemant Kumar Date: Wed, 29 Nov 2017 10:10:32 -0500 Subject: [PATCH] Remove conditions from PVC after successful resize --- pkg/volume/util/operationexecutor/operation_generator.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/volume/util/operationexecutor/operation_generator.go b/pkg/volume/util/operationexecutor/operation_generator.go index fc682fd607d..c02c25ac58d 100644 --- a/pkg/volume/util/operationexecutor/operation_generator.go +++ b/pkg/volume/util/operationexecutor/operation_generator.go @@ -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 {