Change "disks" node to "drives" in OBD output (#10540)

This commit is contained in:
Shireesh Anjal 2020-09-23 00:23:19 +05:30 committed by GitHub
parent d73c4f09f3
commit b17dc81540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -264,7 +264,7 @@ type ServerProperties struct {
Version string `json:"version,omitempty"`
CommitID string `json:"commitID,omitempty"`
Network map[string]string `json:"network,omitempty"`
Disks []Disk `json:"disks,omitempty"`
Disks []Disk `json:"drives,omitempty"`
}
// Disk holds Disk information

View File

@ -61,7 +61,7 @@ type ServerLogOBDInfo struct {
// SysOBDInfo - Includes hardware and system information of the MinIO cluster
type SysOBDInfo struct {
CPUInfo []ServerCPUOBDInfo `json:"cpus,omitempty"`
DiskHwInfo []ServerDiskHwOBDInfo `json:"disks,omitempty"`
DiskHwInfo []ServerDiskHwOBDInfo `json:"drives,omitempty"`
OsInfo []ServerOsOBDInfo `json:"osinfos,omitempty"`
MemInfo []ServerMemOBDInfo `json:"meminfos,omitempty"`
ProcInfo []ServerProcOBDInfo `json:"procinfos,omitempty"`