From 470afe11edaa306f0e74d7367cd8ce37f342dc14 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 --- cli/command/config/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/command/config/create.go b/cli/command/config/create.go index 17cb4184f3..863c41c1b7 100644 --- a/cli/command/config/create.go +++ b/cli/command/config/create.go @@ -41,7 +41,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 }