summaryrefslogtreecommitdiff
path: root/pkg/spec
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-07-09 19:59:58 +0200
committerGitHub <noreply@github.com>2020-07-09 19:59:58 +0200
commitd9cd0032f7478e625329326d7593162a9f1e8c1e (patch)
tree7479f96d73dae9dc186bffbb3cb203a3f1ae7558 /pkg/spec
parent059bd37511e917f860e784307ee1f2766d8d4ec3 (diff)
parentb020d1ad13267bd71065457f83116af39c77f7e5 (diff)
downloadpodman-d9cd0032f7478e625329326d7593162a9f1e8c1e.tar.gz
podman-d9cd0032f7478e625329326d7593162a9f1e8c1e.tar.bz2
podman-d9cd0032f7478e625329326d7593162a9f1e8c1e.zip
Merge pull request #6906 from rhatdan/VENDOR
Vendor in new version of Buildah
Diffstat (limited to 'pkg/spec')
-rw-r--r--pkg/spec/config_linux.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/config_linux.go b/pkg/spec/config_linux.go
index 93aa8a1b6..34cf9695c 100644
--- a/pkg/spec/config_linux.go
+++ b/pkg/spec/config_linux.go
@@ -167,7 +167,7 @@ func addDevice(g *generate.Generator, device string) error {
GID: &dev.Gid,
}
g.AddDevice(linuxdev)
- g.AddLinuxResourcesDevice(true, string(dev.Type), &dev.Major, &dev.Minor, dev.Permissions)
+ g.AddLinuxResourcesDevice(true, string(dev.Type), &dev.Major, &dev.Minor, string(dev.Permissions))
return nil
}