summaryrefslogtreecommitdiff
path: root/cmd/podman/volume_create.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-24 01:07:43 +0200
committerGitHub <noreply@github.com>2019-10-24 01:07:43 +0200
commit4b8832a9af85471bab64963bea42d8e54fad0877 (patch)
tree6b480ba95e7588de1bdff548413a001e344b195a /cmd/podman/volume_create.go
parent2e6c9aa4901b30653d814f4984663cf07fc5e57f (diff)
parentf60a814e4d9da87ac0dd5835b9a790a0b63f54b3 (diff)
downloadpodman-4b8832a9af85471bab64963bea42d8e54fad0877.tar.gz
podman-4b8832a9af85471bab64963bea42d8e54fad0877.tar.bz2
podman-4b8832a9af85471bab64963bea42d8e54fad0877.zip
Merge pull request #4298 from mheon/uid_gid_options
Add parsing for UID, GID in volume "o" option
Diffstat (limited to 'cmd/podman/volume_create.go')
-rw-r--r--cmd/podman/volume_create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/volume_create.go b/cmd/podman/volume_create.go
index 617f701a4..e5a576749 100644
--- a/cmd/podman/volume_create.go
+++ b/cmd/podman/volume_create.go
@@ -37,7 +37,7 @@ func init() {
flags := volumeCreateCommand.Flags()
flags.StringVar(&volumeCreateCommand.Driver, "driver", "", "Specify volume driver name (default local)")
flags.StringSliceVarP(&volumeCreateCommand.Label, "label", "l", []string{}, "Set metadata for a volume (default [])")
- flags.StringSliceVarP(&volumeCreateCommand.Opt, "opt", "o", []string{}, "Set driver specific options (default [])")
+ flags.StringArrayVarP(&volumeCreateCommand.Opt, "opt", "o", []string{}, "Set driver specific options (default [])")
}
func volumeCreateCmd(c *cliconfig.VolumeCreateValues) error {