mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
Admin Info: Modify Uptime to return seconds (#8635)
This commit is contained in:
@@ -242,7 +242,7 @@ func getLocalServerProperty(endpointZones EndpointZones, r *http.Request) madmin
|
||||
return madmin.ServerProperties{
|
||||
State: "ok",
|
||||
Endpoint: addr,
|
||||
Uptime: UTCNow().Sub(globalBootTime),
|
||||
Uptime: UTCNow().Unix() - globalBootTime.Unix(),
|
||||
Version: Version,
|
||||
CommitID: CommitID,
|
||||
Network: network,
|
||||
|
||||
Reference in New Issue
Block a user