diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-02-15 20:22:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 20:22:06 +0100 |
commit | 9c1b08fd79012c12d478edb13f6057a0414762db (patch) | |
tree | 09ef3730c03f8644a8888bab284dd2abff002d92 /cmd | |
parent | 40c6d5c98c04870e814ff99acda03ad5c6c23cdc (diff) | |
parent | de146b0a2d78c68a5048d802648b96419e96aae8 (diff) | |
download | podman-9c1b08fd79012c12d478edb13f6057a0414762db.tar.gz podman-9c1b08fd79012c12d478edb13f6057a0414762db.tar.bz2 podman-9c1b08fd79012c12d478edb13f6057a0414762db.zip |
Merge pull request #2353 from giuseppe/honor-storage-opt
podman: honor --storage-opt again
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/podman/libpodruntime/runtime.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go index 60acd1f5b..0b9568b8d 100644 --- a/cmd/podman/libpodruntime/runtime.go +++ b/cmd/podman/libpodruntime/runtime.go @@ -48,7 +48,7 @@ func GetRuntime(c *cliconfig.PodmanCommand) (*libpod.Runtime, error) { if c.Flags().Changed("storage-driver") { storageOpts.GraphDriverName = c.GlobalFlags.StorageDriver } - if c.Flags().Changed("storage-opt") { + if len(c.GlobalFlags.StorageOpts) > 0 { storageOpts.GraphDriverOptions = c.GlobalFlags.StorageOpts } |