diff --git a/pkg/helm/helm.go b/pkg/helm/helm.go index 6346b649..b0793c28 100644 --- a/pkg/helm/helm.go +++ b/pkg/helm/helm.go @@ -162,7 +162,7 @@ func (c *CLIClient) run(name, namespace string, options Options, command string, } // Set values - if options.SetValues != nil && len(options.SetValues) > 0 { + if len(options.SetValues) > 0 { args = append(args, "--set") setString := "" @@ -178,7 +178,7 @@ func (c *CLIClient) run(name, namespace string, options Options, command string, } // Set string values - if options.SetStringValues != nil && len(options.SetStringValues) > 0 { + if len(options.SetStringValues) > 0 { args = append(args, "--set-string") setString := ""