From 39f1d99dcccf792b8cd14e48c416772a1d6b3928 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 29 Sep 2020 23:13:53 +0200 Subject: [PATCH] Remove "version" annotations from du and prune commands These annotations were picked up by the YAML docs generator, and shows up as "minimum API version". I couldn't find a reference to these annotations in the PR that added them, so thought it would be ok to remove Signed-off-by: Sebastiaan van Stijn --- commands/diskusage.go | 1 - commands/prune.go | 1 - 2 files changed, 2 deletions(-) diff --git a/commands/diskusage.go b/commands/diskusage.go index 79a3e2b5..404a9b80 100644 --- a/commands/diskusage.go +++ b/commands/diskusage.go @@ -109,7 +109,6 @@ func duCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command { options.builder = rootOpts.builder return runDiskUsage(dockerCli, options) }, - Annotations: map[string]string{"version": "1.00"}, } flags := cmd.Flags() diff --git a/commands/prune.go b/commands/prune.go index cb8a58bd..f5a3f2a1 100644 --- a/commands/prune.go +++ b/commands/prune.go @@ -135,7 +135,6 @@ func pruneCmd(dockerCli command.Cli, rootOpts *rootOptions) *cobra.Command { options.builder = rootOpts.builder return runPrune(dockerCli, options) }, - Annotations: map[string]string{"version": "1.00"}, } flags := cmd.Flags()