aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/info.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-01-15 09:13:44 -0800
committerGitHub <noreply@github.com>2019-01-15 09:13:44 -0800
commit6e47727d8ad7205d210b027ed03c1eb28b58ab9c (patch)
tree6d06b5d753e124e6e69eb23c0d7eda6e373dd4b6 /cmd/podman/info.go
parent077156d45cfea915cc249e92a5a45280e5ed71e1 (diff)
parent61ca8e548762dce827f3a26d593db66d14793677 (diff)
downloadpodman-6e47727d8ad7205d210b027ed03c1eb28b58ab9c.tar.gz
podman-6e47727d8ad7205d210b027ed03c1eb28b58ab9c.tar.bz2
podman-6e47727d8ad7205d210b027ed03c1eb28b58ab9c.zip
Merge pull request #2160 from baude/localRuntimerename
Rename localRuntime to runtime in cmd/podman
Diffstat (limited to 'cmd/podman/info.go')
-rw-r--r--cmd/podman/info.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmd/podman/info.go b/cmd/podman/info.go
index 4b80f94db..1ec4011da 100644
--- a/cmd/podman/info.go
+++ b/cmd/podman/info.go
@@ -39,20 +39,20 @@ func infoCmd(c *cli.Context) error {
}
info := map[string]interface{}{}
- localRuntime, err := adapter.GetRuntime(c)
+ runtime, err := adapter.GetRuntime(c)
if err != nil {
return errors.Wrapf(err, "could not get runtime")
}
- defer localRuntime.Runtime.Shutdown(false)
+ defer runtime.Runtime.Shutdown(false)
- infoArr, err := localRuntime.Runtime.Info()
+ infoArr, err := runtime.Runtime.Info()
if err != nil {
return errors.Wrapf(err, "error getting info")
}
// TODO This is no a problem child because we don't know if we should add information
// TODO about the client or the backend. Only do for traditional podman for now.
- if !localRuntime.Remote && c.Bool("debug") {
+ if !runtime.Remote && c.Bool("debug") {
debugInfo := debugInfo(c)
infoArr = append(infoArr, libpod.InfoData{Type: "debug", Data: debugInfo})
}