summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-01-07 14:27:19 -0800
committerGitHub <noreply@github.com>2019-01-07 14:27:19 -0800
commitfaa24627bb19d67b0e7a681673deb58922a634c1 (patch)
treec83c01e8c30592ca95e786baaa96f8ba65fe2199 /libpod
parent628b14ada7e892391fe92e88ea1e471eb6767acb (diff)
parentb367855d5f87bffc980cbce28b35363a4e21ba7c (diff)
downloadpodman-faa24627bb19d67b0e7a681673deb58922a634c1.tar.gz
podman-faa24627bb19d67b0e7a681673deb58922a634c1.tar.bz2
podman-faa24627bb19d67b0e7a681673deb58922a634c1.zip
Merge pull request #2078 from rhatdan/config.file
Add the configuration file used to setup storage to podman info
Diffstat (limited to 'libpod')
-rw-r--r--libpod/info.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/info.go b/libpod/info.go
index 7044eba6a..a98f93897 100644
--- a/libpod/info.go
+++ b/libpod/info.go
@@ -13,6 +13,7 @@ import (
"time"
"github.com/containers/libpod/pkg/rootless"
+ "github.com/containers/libpod/pkg/util"
"github.com/containers/libpod/utils"
"github.com/containers/storage/pkg/system"
"github.com/pkg/errors"
@@ -115,6 +116,7 @@ func (r *Runtime) hostInfo() (map[string]interface{}, error) {
func (r *Runtime) storeInfo() (map[string]interface{}, error) {
// lets say storage driver in use, number of images, number of containers
info := map[string]interface{}{}
+ info["ConfigFile"] = util.StorageConfigFile()
info["GraphRoot"] = r.store.GraphRoot()
info["RunRoot"] = r.store.RunRoot()
info["GraphDriverName"] = r.store.GraphDriverName()