diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-28 17:33:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-28 17:33:35 -0800 |
commit | 0420215f65504623b5d16db0285b050eef2a22ca (patch) | |
tree | 763dcee6e60aac10d8eea0a242555ddf1a0410ce | |
parent | c50332d057a148f6ffa7879e99e969cf97af9878 (diff) | |
parent | c141c5cfd2ce1cb43530daf82203981d5a752ceb (diff) | |
download | podman-0420215f65504623b5d16db0285b050eef2a22ca.tar.gz podman-0420215f65504623b5d16db0285b050eef2a22ca.tar.bz2 podman-0420215f65504623b5d16db0285b050eef2a22ca.zip |
Merge pull request #2060 from rhatdan/devices
Fix handling of symbolic links
-rw-r--r-- | pkg/spec/config_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/config_linux.go b/pkg/spec/config_linux.go index f3e200262..eccd41ff9 100644 --- a/pkg/spec/config_linux.go +++ b/pkg/spec/config_linux.go @@ -74,7 +74,7 @@ func devicesFromPath(g *generate.Generator, devicePath string) error { return nil } - return addDevice(g, devicePath) + return addDevice(g, strings.Join(append([]string{resolvedDevicePath}, devs[1:]...), ":")) } func addDevice(g *generate.Generator, device string) error { |