summaryrefslogtreecommitdiff
path: root/pkg/bindings
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-15 09:59:46 -0400
committerGitHub <noreply@github.com>2020-06-15 09:59:46 -0400
commit230cd2525f110d507c1bf2195f04649f03218c8f (patch)
tree558793e51df03b1b7312aefac6303721b0513ef5 /pkg/bindings
parent5a6a3f81a460f9e8d44f9a08670f6db872be2110 (diff)
parent1c573a5ed5d7d04f67893174421c801f78c70304 (diff)
downloadpodman-230cd2525f110d507c1bf2195f04649f03218c8f.tar.gz
podman-230cd2525f110d507c1bf2195f04649f03218c8f.tar.bz2
podman-230cd2525f110d507c1bf2195f04649f03218c8f.zip
Merge pull request #6599 from afbjorklund/server-built
The string field of Built was missing from server
Diffstat (limited to 'pkg/bindings')
-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),
}