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 { func (i *Install) isDryRun() bool {
if i.DryRunMode != "" { if i.DryRunMode != "" {
switch i.DryRunMode { switch i.DryRunMode {
case DryRunModeClient: case DryRunModeClient, DryRunModeServer:
case DryRunModeServer:
return true return true
case DryRunModeNone: case DryRunModeNone:
return false return false

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

Loading…
Cancel
Save