aboutsummaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-05-07 18:02:00 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-05-07 18:02:41 -0400
commitcb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e (patch)
tree791838d80e179b941f37d525cacd26b4fc961de5 /libpod
parente9b178556d89fa7d483826fbfb59e1075081f800 (diff)
downloadpodman-cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e.tar.gz
podman-cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e.tar.bz2
podman-cb7b97ce5ed30bbe1239d2bcbc1be282ba56ed9e.zip
Fix handling of overridden paths from database
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libpod')
-rw-r--r--libpod/runtime.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index d5e2c51d8..2fe663d7b 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -763,7 +763,7 @@ type DBConfig struct {
// mergeDBConfig merges the configuration from the database.
func (r *Runtime) mergeDBConfig(dbConfig *DBConfig) error {
- c := r.config.Engine
+ c := &r.config.Engine
if !r.storageSet.RunRootSet && dbConfig.StorageTmp != "" {
if r.storageConfig.RunRoot != dbConfig.StorageTmp &&
r.storageConfig.RunRoot != "" {