summaryrefslogtreecommitdiff
path: root/libpod/boltdb_state.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-02-26 17:02:03 +0100
committerGitHub <noreply@github.com>2019-02-26 17:02:03 +0100
commit36df2e70738ab277699e8240f62355a67a6b2edb (patch)
tree4d93d4383d90b110200c41561680c951cf14ba0a /libpod/boltdb_state.go
parent507ab29cfedbcc7503fe10c44ea9e331c5a3a5ca (diff)
parentba6f1acf07d1eddcd810cdb4265a8961770329c6 (diff)
downloadpodman-36df2e70738ab277699e8240f62355a67a6b2edb.tar.gz
podman-36df2e70738ab277699e8240f62355a67a6b2edb.tar.bz2
podman-36df2e70738ab277699e8240f62355a67a6b2edb.zip
Merge pull request #2397 from mheon/volume_path_fixes
Volume path fixes
Diffstat (limited to 'libpod/boltdb_state.go')
-rw-r--r--libpod/boltdb_state.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/boltdb_state.go b/libpod/boltdb_state.go
index 25ef5cd0e..c226a0617 100644
--- a/libpod/boltdb_state.go
+++ b/libpod/boltdb_state.go
@@ -261,12 +261,14 @@ func (s *BoltState) GetDBConfig() (*DBConfig, error) {
storageRoot := configBucket.Get(graphRootKey)
storageTmp := configBucket.Get(runRootKey)
graphDriver := configBucket.Get(graphDriverKey)
+ volumePath := configBucket.Get(volPathKey)
cfg.LibpodRoot = string(libpodRoot)
cfg.LibpodTmp = string(libpodTmp)
cfg.StorageRoot = string(storageRoot)
cfg.StorageTmp = string(storageTmp)
cfg.GraphDriver = string(graphDriver)
+ cfg.VolumePath = string(volumePath)
return nil
})