mirror of https://github.com/minio/minio.git
Return deploymentID in ServerInfo REST call (#7422)
Makes deploymentID information uniform in distributed setup
This commit is contained in:
parent
719d21efd8
commit
aac9e2a7dd
|
@ -52,11 +52,12 @@ func getServerInfo() (*ServerInfoData, error) {
|
||||||
ConnStats: globalConnStats.toServerConnStats(),
|
ConnStats: globalConnStats.toServerConnStats(),
|
||||||
HTTPStats: globalHTTPStats.toServerHTTPStats(),
|
HTTPStats: globalHTTPStats.toServerHTTPStats(),
|
||||||
Properties: ServerProperties{
|
Properties: ServerProperties{
|
||||||
Uptime: UTCNow().Sub(globalBootTime),
|
Uptime: UTCNow().Sub(globalBootTime),
|
||||||
Version: Version,
|
Version: Version,
|
||||||
CommitID: CommitID,
|
CommitID: CommitID,
|
||||||
SQSARN: globalNotificationSys.GetARNList(),
|
DeploymentID: globalDeploymentID,
|
||||||
Region: globalServerConfig.GetRegion(),
|
SQSARN: globalNotificationSys.GetARNList(),
|
||||||
|
Region: globalServerConfig.GetRegion(),
|
||||||
},
|
},
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue