summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-10 20:33:46 +0200
committerGitHub <noreply@github.com>2019-06-10 20:33:46 +0200
commitc93b8d6b02c7ec0c91af34481133001421b9628d (patch)
treecd0fb44e30fa011ba49e462478fe3d58e5c77fed /libpod
parenta89d013b12049ebef604c6978fc3b581d6ecb81c (diff)
parent629017bb197bcda31ac129fb712ba3c6917b100b (diff)
downloadpodman-c93b8d6b02c7ec0c91af34481133001421b9628d.tar.gz
podman-c93b8d6b02c7ec0c91af34481133001421b9628d.tar.bz2
podman-c93b8d6b02c7ec0c91af34481133001421b9628d.zip
Merge pull request #3240 from rhatdan/storageopts
When you change the storage driver we ignore the storage-options
Diffstat (limited to 'libpod')
-rw-r--r--libpod/container_internal.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go
index c0b5e4302..9245a8840 100644
--- a/libpod/container_internal.go
+++ b/libpod/container_internal.go
@@ -360,7 +360,8 @@ func (c *Container) setupStorage(ctx context.Context) error {
}
return false
}
- defOptions, err := storage.GetDefaultMountOptions()
+
+ defOptions, err := storage.GetMountOptions(c.runtime.store.GraphDriverName(), c.runtime.store.GraphOptions())
if err != nil {
return errors.Wrapf(err, "error getting default mount options")
}