Merge pull request #6599 from afbjorklund/server-built

The string field of Built was missing from server
This commit is contained in:
OpenShift Merge Robot
2020-06-15 09:59:46 -04:00
committed by GitHub

View File

@ -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),
}