From 1c573a5ed5d7d04f67893174421c801f78c70304 Mon Sep 17 00:00:00 2001 From: Anders F Björklund Date: Sat, 13 Jun 2020 21:43:01 +0200 Subject: The string field of Built was missing from server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It should match the client version, but was empty Signed-off-by: Anders F Björklund --- pkg/bindings/system/system.go | 1 + 1 file changed, 1 insertion(+) (limited to 'pkg') 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), } -- cgit v1.2.3-54-g00ecf