From dad6d649c54bf7393b88c1f0a785483e7f652516 Mon Sep 17 00:00:00 2001 From: sami-alajrami Date: Fri, 3 May 2019 14:06:43 +0200 Subject: [PATCH] code cleanup --- decision_maker.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/decision_maker.go b/decision_maker.go index 5d2fbaa9..232528eb 100644 --- a/decision_maker.go +++ b/decision_maker.go @@ -343,7 +343,6 @@ func getValuesFiles(r *release) string { logError("Failed to decrypt secret file" + r.SecretsFile) } fileList = append(fileList, r.SecretsFile+".dec") - shouldCleanup = true } else if len(r.SecretsFiles) > 0 { if !helmPluginExists("secrets") { logError("ERROR: helm secrets plugin is not installed/configured correctly. Aborting!") @@ -359,7 +358,6 @@ func getValuesFiles(r *release) string { } } fileList = append(fileList, r.SecretsFiles...) - shouldCleanup = true } if len(fileList) > 0 {