From 1420b9c42da57d66549e0276ed80485d472ffbf7 Mon Sep 17 00:00:00 2001 From: Pallav Date: Wed, 25 Oct 2023 14:26:03 +0530 Subject: [PATCH] Check for Storage Class Present in Restore Cluster --- pkg/controllers/dataexport/reconcile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/dataexport/reconcile.go b/pkg/controllers/dataexport/reconcile.go index aecd49fca..688832768 100644 --- a/pkg/controllers/dataexport/reconcile.go +++ b/pkg/controllers/dataexport/reconcile.go @@ -195,7 +195,7 @@ func (c *Controller) sync(ctx context.Context, in *kdmpapi.DataExport) (bool, er data := updateDataExportDetail{ stage: kdmpapi.DataExportStageCleanup, status: dataExport.Status.Status, - reason: "", + reason: dataExport.Status.Reason, } return false, c.updateStatus(dataExport, data) }