Skip to content

Commit

Permalink
upgrade: nfs: actually respect dryRun
Browse files Browse the repository at this point in the history
  • Loading branch information
chrboe committed Nov 6, 2023
1 parent f72c2c3 commit e760b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/upgrade/nfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func Nfs(ctx context.Context, linstor *client.Client, name string, forceYes bool
if didDrbd {
didAny = true
}
didNfs, err := upgradeNfs(ctx, linstor, name, forceYes, false)
didNfs, err := upgradeNfs(ctx, linstor, name, forceYes, dryRun)
if err != nil {
return fmt.Errorf("failed to upgrade promoter config: %w", err)
}
Expand Down

0 comments on commit e760b41

Please sign in to comment.