From 0fed112def0fc8571a095df6dc9dda5336ed5819 Mon Sep 17 00:00:00 2001 From: sivakumar subraani Date: Thu, 23 Nov 2023 03:57:10 +0000 Subject: [PATCH] pb-4872: reverted the setting of default compression type --- pkg/controllers/dataexport/reconcile.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/pkg/controllers/dataexport/reconcile.go b/pkg/controllers/dataexport/reconcile.go index 34aae974d..272ecc991 100644 --- a/pkg/controllers/dataexport/reconcile.go +++ b/pkg/controllers/dataexport/reconcile.go @@ -288,9 +288,6 @@ func (c *Controller) sync(ctx context.Context, in *kdmpapi.DataExport) (bool, er } } compressionType = kdmpData.Data[compressionKey] - if len(compressionType) == 0 { - compressionType = utils.DefaultCompresion - } podDataPath = kdmpData.Data[backupPath] if len(kdmpData.Data[excludeFileListKey]) != 0 { excludeFileList, err = parseExcludeFileListKey(pvcStorageClass, kdmpData.Data[excludeFileListKey])