mirror of
https://github.com/minio/minio.git
synced 2025-11-12 06:50:17 -05: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