pull/11744/head
George Jenkins 3 years ago
parent 4a40e1c9ab
commit 7e413437ad

@ -458,8 +458,7 @@ func (i *Install) failRelease(rel *release.Release, err error) (*release.Release
func (i *Install) isDryRun() bool {
if i.DryRunMode != "" {
switch i.DryRunMode {
case DryRunModeClient:
case DryRunModeServer:
case DryRunModeClient, DryRunModeServer:
return true
case DryRunModeNone:
return false

@ -171,8 +171,7 @@ func (u *Upgrade) RunWithContext(ctx context.Context, name string, chart *chart.
func (u *Upgrade) isDryRun() bool {
if u.DryRunMode != "" {
switch u.DryRunMode {
case DryRunModeClient:
case DryRunModeServer:
case DryRunModeClient, DryRunModeServer:
return true
case DryRunModeNone:
return false

Loading…
Cancel
Save