Skip to content

Commit

Permalink
Fixing issue docker#278 "No stack in docker help command"
Browse files Browse the repository at this point in the history
The "kubernetes" and "swarm" annotations are removed as we don't want to hide stack command.

Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
  • Loading branch information
silvin-lubecki committed Apr 12, 2018
1 parent 3d0fc8d commit c746dcf
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli/command/stack/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ func NewStackCommand(dockerCli command.Cli) *cobra.Command {
Args: cli.NoArgs,
RunE: command.ShowHelp(dockerCli.Err()),
Annotations: map[string]string{
"kubernetes": "",
"swarm": "",
"version": "1.25",
"version": "1.25",
},
}
cmd.AddCommand(
Expand Down

0 comments on commit c746dcf

Please sign in to comment.