summaryrefslogtreecommitdiff
path: root/cmd/podman/common/create_opts.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-04-21 08:22:05 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-04-21 16:02:11 -0400
commit592e7867a3fc2fa370f7f24125285e81fb0c6d1a (patch)
treeea306a2c931c898366039d4181f208c89c361dfc /cmd/podman/common/create_opts.go
parent9d7b5947b9ff661433c4bedc018f5368830abbe6 (diff)
downloadpodman-592e7867a3fc2fa370f7f24125285e81fb0c6d1a.tar.gz
podman-592e7867a3fc2fa370f7f24125285e81fb0c6d1a.tar.bz2
podman-592e7867a3fc2fa370f7f24125285e81fb0c6d1a.zip
Add support for devices from command line
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/common/create_opts.go')
-rw-r--r--cmd/podman/common/create_opts.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/common/create_opts.go b/cmd/podman/common/create_opts.go
index 37fe01460..2f08bb6a6 100644
--- a/cmd/podman/common/create_opts.go
+++ b/cmd/podman/common/create_opts.go
@@ -25,7 +25,7 @@ type ContainerCLIOpts struct {
CPUSetMems string
Detach bool
DetachKeys string
- Device []string
+ Devices []string
DeviceCGroupRule []string
DeviceReadBPs []string
DeviceReadIOPs []string