summaryrefslogtreecommitdiff
path: root/pkg/varlinkapi/system.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2019-08-31 07:19:39 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2019-09-06 07:32:42 -0400
commitb2b284111e49d3d953f71a794f25aa9ddfbb8568 (patch)
tree280582a73cb3c3cc080517c5fdaafbbf90846fe0 /pkg/varlinkapi/system.go
parenta4572c4f681ef23495495f313ae513d5ba3fd495 (diff)
downloadpodman-b2b284111e49d3d953f71a794f25aa9ddfbb8568.tar.gz
podman-b2b284111e49d3d953f71a794f25aa9ddfbb8568.tar.bz2
podman-b2b284111e49d3d953f71a794f25aa9ddfbb8568.zip
Return information about mount_program (fuse-overlayfs)
We want to get podman info to tell us about the version of the mount program to help us diagnose issues users are having. Also if in rootless mode and slirp4netns is installed reveal package info on slirp4netns. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/varlinkapi/system.go')
-rw-r--r--pkg/varlinkapi/system.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/varlinkapi/system.go b/pkg/varlinkapi/system.go
index 2de785b79..f6057f5fc 100644
--- a/pkg/varlinkapi/system.go
+++ b/pkg/varlinkapi/system.go
@@ -3,9 +3,9 @@
package varlinkapi
import (
+ "fmt"
"github.com/containers/libpod/libpod/define"
goruntime "runtime"
- "strings"
"time"
"github.com/containers/libpod/cmd/podman/varlink"
@@ -83,7 +83,7 @@ func (i *LibpodAPI) GetInfo(call iopodman.VarlinkCall) error {
Images: int64(store["ImageStore"].(map[string]interface{})["number"].(int)),
Run_root: store["RunRoot"].(string),
Graph_root: store["GraphRoot"].(string),
- Graph_driver_options: strings.Join(store["GraphOptions"].([]string), ", "),
+ Graph_driver_options: fmt.Sprintf("%v", store["GraphOptions"]),
Graph_status: graphStatus,
}