summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorAnders F Björklund <anders.f.bjorklund@gmail.com>2020-06-13 21:43:01 +0200
committerAnders F Björklund <anders.f.bjorklund@gmail.com>2020-06-13 21:43:19 +0200
commit1c573a5ed5d7d04f67893174421c801f78c70304 (patch)
tree3f27609ab92e678e8fe0ef5000771fdfce769ac1 /pkg
parent3f026eb6a682a68e69f9376b72157a8f084e575c (diff)
downloadpodman-1c573a5ed5d7d04f67893174421c801f78c70304.tar.gz
podman-1c573a5ed5d7d04f67893174421c801f78c70304.tar.bz2
podman-1c573a5ed5d7d04f67893174421c801f78c70304.zip
The string field of Built was missing from server
It should match the client version, but was empty Signed-off-by: Anders F Björklund <anders.f.bjorklund@gmail.com>
Diffstat (limited to 'pkg')
-rw-r--r--pkg/bindings/system/system.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/bindings/system/system.go b/pkg/bindings/system/system.go
index 010762bef..b2ee3951b 100644
--- a/pkg/bindings/system/system.go
+++ b/pkg/bindings/system/system.go
@@ -125,6 +125,7 @@ func Version(ctx context.Context) (*entities.SystemVersionReport, error) {
Version: component.Version.Version,
GoVersion: component.GoVersion,
GitCommit: component.GitCommit,
+ BuiltTime: time.Unix(b.Unix(), 0).Format(time.ANSIC),
Built: b.Unix(),
OsArch: fmt.Sprintf("%s/%s", component.Os, component.Arch),
}