mirror of https://github.com/docker/cli.git
Fix annotation on docker secret create --template-driver
Signed-off-by: Sune Keller <absukl@almbrand.dk>
This commit is contained in:
parent
f40f9c240a
commit
217308d96d
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue