Skip to content

Commit 9bd1ba2

Browse files
committed
commands: update deprecation notice for keep-storage
The `--keep-storage` flag was changed to `--reserved-space`. Before it was changed to that name, it was changed to `--max-storage`. This flag never made it into a release as the name was changed before release, but the update to the flag in buildx forgot to update the deprecation notice. Signed-off-by: Jonathan A. Sternberg <[email protected]>
1 parent f901709 commit 9bd1ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/prune.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func pruneCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command {
182182
flags.BoolVarP(&options.force, "force", "f", false, "Do not prompt for confirmation")
183183

184184
flags.Var(&options.reservedSpace, "keep-storage", "Amount of disk space to keep for cache")
185-
flags.MarkDeprecated("keep-storage", "keep-storage flag has been changed to max-storage")
185+
flags.MarkDeprecated("keep-storage", "keep-storage flag has been changed to reserved-space")
186186

187187
return cmd
188188
}

0 commit comments

Comments
 (0)