diff options
author | Anders F Björklund <anders.f.bjorklund@gmail.com> | 2018-10-30 23:55:48 +0100 |
---|---|---|
committer | Anders F Björklund <anders.f.bjorklund@gmail.com> | 2018-10-31 00:27:08 +0100 |
commit | b2fef1a8badb875339d6329c095842baee4b3a17 (patch) | |
tree | 42e9c0a95a03d90b1aea21fa45bc6efc7be12e21 /cmd/podman/info.go | |
parent | aef9d56ae20e34447a69e19613629b8281a78502 (diff) | |
download | podman-b2fef1a8badb875339d6329c095842baee4b3a17.tar.gz podman-b2fef1a8badb875339d6329c095842baee4b3a17.tar.bz2 podman-b2fef1a8badb875339d6329c095842baee4b3a17.zip |
Fix setting of version information
It was setting the wrong variable (CamelCase)
in the wrong module ("main", not "libpod")...
Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Diffstat (limited to 'cmd/podman/info.go')
-rw-r--r-- | cmd/podman/info.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/info.go b/cmd/podman/info.go index 563e63ba3..c0639725e 100644 --- a/cmd/podman/info.go +++ b/cmd/podman/info.go @@ -81,6 +81,7 @@ func debugInfo(c *cli.Context) map[string]interface{} { info["compiler"] = runtime.Compiler info["go version"] = runtime.Version() info["podman version"] = c.App.Version - info["git commit"] = libpod.GitCommit + version, _ := libpod.GetVersion() + info["git commit"] = version.GitCommit return info } |