diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-19 11:00:59 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-05-21 16:31:34 -0400 |
commit | 7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a (patch) | |
tree | 7a5678be650894dd40275dfccc3fd5b948a32112 /pkg/varlinkapi | |
parent | 17171aecf449c0f0823d7843242d735caaad7739 (diff) | |
download | podman-7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a.tar.gz podman-7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a.tar.bz2 podman-7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a.zip |
podman version --format ... was not working
This patch fixes the podman --version --format command.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/varlinkapi')
-rw-r--r-- | pkg/varlinkapi/system.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/varlinkapi/system.go b/pkg/varlinkapi/system.go index 82efe9b5d..308f02274 100644 --- a/pkg/varlinkapi/system.go +++ b/pkg/varlinkapi/system.go @@ -28,7 +28,7 @@ func (i *VarlinkAPI) GetVersion(call iopodman.VarlinkCall) error { versionInfo.GitCommit, time.Unix(versionInfo.Built, 0).Format(time.RFC3339), versionInfo.OsArch, - versionInfo.RemoteAPIVersion, + versionInfo.APIVersion, ) } |