chore: remove logging from inside helm client

This commit is contained in:
Jose Diaz-Gonzalez committed 2024-01-23 07:25:18 -05:00
1 parent 4a7db5ce24
commit 25925c0ae2
2 files changed
+1 -2

No files matched your search

-2
View File
@@ -207,11 +207,9 @@ func (h *HelmAgent) InstallOrUpgradeChart(ctx context.Context, input ChartInput)
} }
if chartExists { if chartExists {
common.LogExclaim(fmt.Sprintf("Upgrading %s", input.ReleaseName))
return h.UpgradeChart(ctx, input) return h.UpgradeChart(ctx, input)
} }
common.LogExclaim(fmt.Sprintf("Installing %s", input.ReleaseName))
return h.InstallChart(ctx, input) return h.InstallChart(ctx, input)
} }
+1
View File
@@ -515,6 +515,7 @@ func TriggerSchedulerDeploy(scheduler string, appName string, imageTag string) e
return fmt.Errorf("Error parsing deploy timeout duration: %w", err) return fmt.Errorf("Error parsing deploy timeout duration: %w", err)
} }
common.LogExclaim(fmt.Sprintf("Installing %s", appName))
err = helmAgent.InstallOrUpgradeChart(ctx, ChartInput{ err = helmAgent.InstallOrUpgradeChart(ctx, ChartInput{
ChartPath: chartPath, ChartPath: chartPath,
Namespace: namespace, Namespace: namespace,