Fix annnotation on docker config create --template-driver
@@ -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
}
