mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 06:00:24 +03:00
Admin Info: Modify Uptime to return seconds (#8635)
This commit is contained in:
@@ -52,7 +52,7 @@ func getServerInfo() (*ServerInfoData, error) {
|
||||
ConnStats: globalConnStats.toServerConnStats(),
|
||||
HTTPStats: globalHTTPStats.toServerHTTPStats(),
|
||||
Properties: ServerProperties{
|
||||
Uptime: UTCNow().Sub(globalBootTime),
|
||||
Uptime: UTCNow().Unix() - globalBootTime.Unix(),
|
||||
Version: Version,
|
||||
CommitID: CommitID,
|
||||
DeploymentID: globalDeploymentID,
|
||||
|
||||
Reference in New Issue
Block a user