mirror of
https://github.com/minio/minio.git
synced 2025-04-04 20:00:31 -04:00
Add deploymentID to ServerInfo (#7372)
This commit is contained in:
parent
328eb74cbb
commit
8a77a298f2
@ -180,6 +180,7 @@ type ServerProperties struct {
|
|||||||
Uptime time.Duration `json:"uptime"`
|
Uptime time.Duration `json:"uptime"`
|
||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
CommitID string `json:"commitID"`
|
CommitID string `json:"commitID"`
|
||||||
|
DeploymentID string `json:"deploymentID"`
|
||||||
Region string `json:"region"`
|
Region string `json:"region"`
|
||||||
SQSARN []string `json:"sqsARN"`
|
SQSARN []string `json:"sqsARN"`
|
||||||
}
|
}
|
||||||
@ -259,6 +260,7 @@ func (a adminAPIHandlers) ServerInfoHandler(w http.ResponseWriter, r *http.Reque
|
|||||||
Uptime: UTCNow().Sub(globalBootTime),
|
Uptime: UTCNow().Sub(globalBootTime),
|
||||||
Version: Version,
|
Version: Version,
|
||||||
CommitID: CommitID,
|
CommitID: CommitID,
|
||||||
|
DeploymentID: globalDeploymentID,
|
||||||
SQSARN: globalNotificationSys.GetARNList(),
|
SQSARN: globalNotificationSys.GetARNList(),
|
||||||
Region: globalServerConfig.GetRegion(),
|
Region: globalServerConfig.GetRegion(),
|
||||||
},
|
},
|
||||||
|
@ -75,6 +75,7 @@ type ServerProperties struct {
|
|||||||
Uptime time.Duration `json:"uptime"`
|
Uptime time.Duration `json:"uptime"`
|
||||||
Version string `json:"version"`
|
Version string `json:"version"`
|
||||||
CommitID string `json:"commitID"`
|
CommitID string `json:"commitID"`
|
||||||
|
DeploymentID string `json:"deploymentID"`
|
||||||
Region string `json:"region"`
|
Region string `json:"region"`
|
||||||
SQSARN []string `json:"sqsARN"`
|
SQSARN []string `json:"sqsARN"`
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user