From 1617714f28aae6cae4dd9640398e3dd69cf7d196 Mon Sep 17 00:00:00 2001 From: Simon Ferquel Date: Thu, 21 Mar 2019 16:19:06 +0100 Subject: [PATCH] Fix annnotation on docker config create --template-driver Signed-off-by: Simon Ferquel (cherry picked from commit 470afe11edaa306f0e74d7367cd8ce37f342dc14) Signed-off-by: Sebastiaan van Stijn Upstream-commit: 85148aa3f1206942c0b150e0b1ab9b57dea324f5 Component: cli --- components/cli/cli/command/config/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cli/cli/command/config/create.go b/components/cli/cli/command/config/create.go index 04130313e6..0eac75a553 100644 --- a/components/cli/cli/command/config/create.go +++ b/components/cli/cli/command/config/create.go @@ -40,7 +40,7 @@ func newConfigCreateCommand(dockerCli command.Cli) *cobra.Command { flags := cmd.Flags() flags.VarP(&createOpts.labels, "label", "l", "Config labels") flags.StringVar(&createOpts.templateDriver, "template-driver", "", "Template driver") - flags.SetAnnotation("driver", "version", []string{"1.37"}) + flags.SetAnnotation("template-driver", "version", []string{"1.37"}) return cmd }