summaryrefslogtreecommitdiff
path: root/pkg/domain/infra
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-05-21 17:40:24 +0200
committerGitHub <noreply@github.com>2021-05-21 17:40:24 +0200
commit6a6ef402c3c8e14a621a98a4029255e3be41d5ef (patch)
treeb0eb760b8c8f96e94abe07a1f84bab48aec5dabb /pkg/domain/infra
parente48aa8c82f7f26260f6911bb3ea99ff54c294675 (diff)
parent55f00bac02fcde7fbe960a9a80131dbc72630b5b (diff)
downloadpodman-6a6ef402c3c8e14a621a98a4029255e3be41d5ef.tar.gz
podman-6a6ef402c3c8e14a621a98a4029255e3be41d5ef.tar.bz2
podman-6a6ef402c3c8e14a621a98a4029255e3be41d5ef.zip
Merge pull request #10400 from rhatdan/root
Clear the storage-options from the graphdriver if users specifies --root
Diffstat (limited to 'pkg/domain/infra')
-rw-r--r--pkg/domain/infra/runtime_libpod.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/domain/infra/runtime_libpod.go b/pkg/domain/infra/runtime_libpod.go
index a98c9168a..5cbee2e76 100644
--- a/pkg/domain/infra/runtime_libpod.go
+++ b/pkg/domain/infra/runtime_libpod.go
@@ -129,6 +129,7 @@ func getRuntime(ctx context.Context, fs *flag.FlagSet, opts *engineOpts) (*libpo
if fs.Changed("root") {
storageSet = true
storageOpts.GraphRoot = cfg.Engine.StaticDir
+ storageOpts.GraphDriverOptions = []string{}
}
if fs.Changed("runroot") {
storageSet = true