diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-05-21 17:40:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-21 17:40:24 +0200 |
commit | 6a6ef402c3c8e14a621a98a4029255e3be41d5ef (patch) | |
tree | b0eb760b8c8f96e94abe07a1f84bab48aec5dabb /pkg/domain | |
parent | e48aa8c82f7f26260f6911bb3ea99ff54c294675 (diff) | |
parent | 55f00bac02fcde7fbe960a9a80131dbc72630b5b (diff) | |
download | podman-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')
-rw-r--r-- | pkg/domain/infra/runtime_libpod.go | 1 |
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 |