Commit f7b08b72 authored by Christopher Harm's avatar Christopher Harm

Fixing error message for helm3

parent 65a01c4a
Pipeline #89229 passed with stages
in 52 seconds
......@@ -235,7 +235,11 @@ func buildDockerAndDeploy(config config.Config) error {
err = environment.Run(true, "helm", args...)
if err != nil {
color.New(color.FgRed).Printf("helm error. try running 'helm del --purge %s'\n", releaseName)
if helmVersion2() {
color.New(color.FgRed).Printf("helm error. try running 'helm del --purge %s'\n", releaseName)
} else {
color.New(color.FgRed).Printf("helm error. try running 'helm del %s'\n", releaseName)
}
return err
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment