Add deploymentID to ServerInfo (#7372)

This commit is contained in:
Krishnan Parthasarathi
2019-03-19 16:12:24 +05:30
committed by Nitish Tiwari
parent 328eb74cbb
commit 8a77a298f2
2 changed files with 18 additions and 15 deletions

View File

@@ -72,11 +72,12 @@ type StorageInfo struct {
// ServerProperties holds some of the server's information such as uptime,
// version, region, ..
type ServerProperties struct {
Uptime time.Duration `json:"uptime"`
Version string `json:"version"`
CommitID string `json:"commitID"`
Region string `json:"region"`
SQSARN []string `json:"sqsARN"`
Uptime time.Duration `json:"uptime"`
Version string `json:"version"`
CommitID string `json:"commitID"`
DeploymentID string `json:"deploymentID"`
Region string `json:"region"`
SQSARN []string `json:"sqsARN"`
}
// ServerConnStats holds network information