diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2021-04-05 20:55:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 20:55:15 +0200 |
commit | 6b23fece7348cd52949a3dd7b7e65483e3cac19b (patch) | |
tree | 7b0216fc4797550c6f97fe8623e29bac2c1fb496 /libpod | |
parent | e9e4898048fe669263ca16929132ea63edf0ccef (diff) | |
parent | 69ace205356171835d920438fe411839c543f073 (diff) | |
download | podman-6b23fece7348cd52949a3dd7b7e65483e3cac19b.tar.gz podman-6b23fece7348cd52949a3dd7b7e65483e3cac19b.tar.bz2 podman-6b23fece7348cd52949a3dd7b7e65483e3cac19b.zip |
Merge pull request #9911 from rhatdan/storage
Allow users to override default storage opts with --storage-opt
Diffstat (limited to 'libpod')
-rw-r--r-- | libpod/options.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpod/options.go b/libpod/options.go index 24e9d74f4..333a7c4a5 100644 --- a/libpod/options.go +++ b/libpod/options.go @@ -77,8 +77,7 @@ func WithStorageConfig(config storage.StoreOptions) RuntimeOption { rt.storageConfig.GraphDriverOptions = make([]string, len(config.GraphDriverOptions)) copy(rt.storageConfig.GraphDriverOptions, config.GraphDriverOptions) } else { - // append new options after what is specified in the config files - rt.storageConfig.GraphDriverOptions = append(rt.storageConfig.GraphDriverOptions, config.GraphDriverOptions...) + rt.storageConfig.GraphDriverOptions = config.GraphDriverOptions } setField = true } |