Fix annotation on docker secret create --template-driver
Signed-off-by: Sune Keller <absukl@almbrand.dk> (cherry picked from commit217308d96d) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit:356eda4028Component: cli
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
1617714f28
commit
8054c5a69b
@@ -45,7 +45,7 @@ func newSecretCreateCommand(dockerCli command.Cli) *cobra.Command {
|
||||
flags.StringVarP(&options.driver, "driver", "d", "", "Secret driver")
|
||||
flags.SetAnnotation("driver", "version", []string{"1.31"})
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user