Skip to content

Commit c746dcf

Browse files
Fixing issue docker#278 "No stack in docker help command"
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>
1 parent 3d0fc8d commit c746dcf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

cli/command/stack/cmd.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@ func NewStackCommand(dockerCli command.Cli) *cobra.Command {
1414
Args: cli.NoArgs,
1515
RunE: command.ShowHelp(dockerCli.Err()),
1616
Annotations: map[string]string{
17-
"kubernetes": "",
18-
"swarm": "",
19-
"version": "1.25",
17+
"version": "1.25",
2018
},
2119
}
2220
cmd.AddCommand(

0 commit comments

Comments
 (0)