Fix annotation on docker secret create --template-driver

Signed-off-by: Sune Keller <absukl@almbrand.dk>
This commit is contained in:
Sune Keller 2019-03-28 16:18:50 +01:00
parent f40f9c240a
commit 217308d96d
No known key found for this signature in database
GPG Key ID: 65696B9566629EB8
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ func newSecretCreateCommand(dockerCli command.Cli) *cobra.Command {
flags.StringVarP(&options.driver, "driver", "d", "", "Secret driver") flags.StringVarP(&options.driver, "driver", "d", "", "Secret driver")
flags.SetAnnotation("driver", "version", []string{"1.31"}) flags.SetAnnotation("driver", "version", []string{"1.31"})
flags.StringVar(&options.templateDriver, "template-driver", "", "Template driver") flags.StringVar(&options.templateDriver, "template-driver", "", "Template driver")
flags.SetAnnotation("driver", "version", []string{"1.37"}) flags.SetAnnotation("template-driver", "version", []string{"1.37"})
return cmd return cmd
} }