diff --git a/apps/helm_utils.go b/apps/helm_utils.go index 2208113..962d5a1 100644 --- a/apps/helm_utils.go +++ b/apps/helm_utils.go @@ -227,9 +227,13 @@ func UmbrellaUpgrade(isPartialRebuildDisableNeeded bool) error { // apps.UpgradeHelmChartfromValues(e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), values, TestLog, version) - GetHelmValues(e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), oldValues) - - UpgradeHelmChartfromValues("mayastor/openebs",e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), values, oldValues, e2e_config.GetConfig().ImageTag) - + err := GetHelmValues(e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), oldValues) + if err != nil { + return fmt.Errorf("failed to get helm values: %v\n", err) + } + err = UpgradeHelmChartfromValues("mayastor/openebs",e2e_config.GetConfig().Product.HelmReleaseName, common.NSMayastor(), values, oldValues, e2e_config.GetConfig().ImageTag) + if err != nil { + return fmt.Errorf("failed to upgrade Helm Chart from Values: %v\n", err) + } return nil }