summaryrefslogtreecommitdiff
path: root/cmd/podman/secrets
diff options
context:
space:
mode:
authorTino Rusch <tino.rusch@gmail.com>2021-06-25 08:33:15 +0200
committerTino Rusch <tino.rusch@gmail.com>2021-06-25 08:33:15 +0200
commite7507fe7cf2f35e332f58ae632882f29395e4c59 (patch)
treef071ec9af376e59bdef22cab56b096ed9b70ac36 /cmd/podman/secrets
parentb56b4b53744c59cad942278ff34a0b0616a7aa60 (diff)
downloadpodman-e7507fe7cf2f35e332f58ae632882f29395e4c59.tar.gz
podman-e7507fe7cf2f35e332f58ae632882f29395e4c59.tar.bz2
podman-e7507fe7cf2f35e332f58ae632882f29395e4c59.zip
make DriverOpts name consistent.
Signed-off-by: Tino Rusch <tino.rusch@gmail.com>
Diffstat (limited to 'cmd/podman/secrets')
-rw-r--r--cmd/podman/secrets/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/secrets/create.go b/cmd/podman/secrets/create.go
index 8c268615c..f9846f9fb 100644
--- a/cmd/podman/secrets/create.go
+++ b/cmd/podman/secrets/create.go
@@ -47,7 +47,7 @@ func init() {
cfg := registry.PodmanConfig()
flags.StringVar(&createOpts.Driver, driverFlagName, cfg.Secrets.Driver, "Specify secret driver")
- flags.StringToStringVar(&createOpts.Opts, optsFlagName, cfg.Secrets.Opts, "Specify driver specific options")
+ flags.StringToStringVar(&createOpts.DriverOpts, optsFlagName, cfg.Secrets.Opts, "Specify driver specific options")
_ = createCmd.RegisterFlagCompletionFunc(driverFlagName, completion.AutocompleteNone)
_ = createCmd.RegisterFlagCompletionFunc(optsFlagName, completion.AutocompleteNone)