From 7b188f7b5b28ea04bcda1747f1869a50ac4b6f4a Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 19 May 2020 11:00:59 -0400 Subject: podman version --format ... was not working This patch fixes the podman --version --format command. Signed-off-by: Daniel J Walsh --- pkg/varlinkapi/system.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/varlinkapi/system.go') 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, ) } -- cgit v1.2.3-54-g00ecf