diff options
author | Anders F Björklund <anders.f.bjorklund@gmail.com> | 2020-06-13 21:43:01 +0200 |
---|---|---|
committer | Anders F Björklund <anders.f.bjorklund@gmail.com> | 2020-06-13 21:43:19 +0200 |
commit | 1c573a5ed5d7d04f67893174421c801f78c70304 (patch) | |
tree | 3f27609ab92e678e8fe0ef5000771fdfce769ac1 /pkg | |
parent | 3f026eb6a682a68e69f9376b72157a8f084e575c (diff) | |
download | podman-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.go | 1 |
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), } |