mirror of
https://github.com/containers/podman.git
synced 2025-06-24 19:42:56 +08:00
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>
This commit is contained in:
@ -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),
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user