always add but hide experimental cmds and flags

Signed-off-by: Victor Vieux <vieux@docker.com>

update cobra and use Tags

Signed-off-by: Victor Vieux <vieux@docker.com>

allow client to talk to an older server

Signed-off-by: Victor Vieux <vieux@docker.com>
Upstream-commit: e98e4a71110fd33852bb755a9b8b4ebc9df904db
Component: engine
This commit is contained in:
Victor Vieux
2016-11-02 17:43:32 -07:00
parent 067ec4c6cd
commit d0ebaa81e8
51 changed files with 192 additions and 182 deletions

View File

@ -36,7 +36,7 @@ func newDeployCommand(dockerCli *command.DockerCli) *cobra.Command {
opts.namespace = strings.TrimSuffix(args[0], ".dab")
return runDeploy(dockerCli, opts)
},
Tags: map[string]string{"experimental": ""},
Tags: map[string]string{"experimental": "", "version": "1.25"},
}
flags := cmd.Flags()