mirror of https://github.com/containers/podman.git
Merge pull request #6599 from afbjorklund/server-built
The string field of Built was missing from server
This commit is contained in:
commit
230cd2525f
|
|
@ -125,6 +125,7 @@ func Version(ctx context.Context) (*entities.SystemVersionReport, error) {
|
||||||
Version: component.Version.Version,
|
Version: component.Version.Version,
|
||||||
GoVersion: component.GoVersion,
|
GoVersion: component.GoVersion,
|
||||||
GitCommit: component.GitCommit,
|
GitCommit: component.GitCommit,
|
||||||
|
BuiltTime: time.Unix(b.Unix(), 0).Format(time.ANSIC),
|
||||||
Built: b.Unix(),
|
Built: b.Unix(),
|
||||||
OsArch: fmt.Sprintf("%s/%s", component.Os, component.Arch),
|
OsArch: fmt.Sprintf("%s/%s", component.Os, component.Arch),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue