Return deploymentID in ServerInfo REST call (#7422)

Makes deploymentID information uniform in distributed setup
This commit is contained in:
Krishnan Parthasarathi 2019-03-26 00:25:28 +05:30 committed by kannappanr
parent 719d21efd8
commit aac9e2a7dd
1 changed files with 6 additions and 5 deletions

View File

@ -55,6 +55,7 @@ func getServerInfo() (*ServerInfoData, error) {
Uptime: UTCNow().Sub(globalBootTime),
Version: Version,
CommitID: CommitID,
DeploymentID: globalDeploymentID,
SQSARN: globalNotificationSys.GetARNList(),
Region: globalServerConfig.GetRegion(),
},