1
0
Fork 0
mirror of https://github.com/drone/drone-cli.git synced 2024-05-06 07:36:02 +02:00

fix: use right parameter name for secrets-file (#226)

Update the param name to secret-file instead of secrets
This commit is contained in:
Kamesh Sampath 2022-11-24 16:27:48 +05:30 committed by GitHub
parent 9de573c558
commit 7a70abda6b
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ func mapOldToExecCommand(input *cli.Context) *execCommand {
Networks: input.StringSlice("network"),
Environ: readParams(input.String("env-file")),
Volumes: withVolumeSlice(input.StringSlice("volume")),
Secrets: readParams(input.String("secrets")),
Secrets: readParams(input.String("secret-file")),
Config: input.String("registry"),
Privileged: input.StringSlice("privileged"),
Pretty: input.BoolT("pretty"),