mirror of
https://github.com/minio/minio.git
synced 2025-04-20 18:44:21 -04:00
Change "disks" node to "drives" in OBD output (#10540)
This commit is contained in:
parent
d73c4f09f3
commit
b17dc81540
@ -264,7 +264,7 @@ type ServerProperties struct {
|
|||||||
Version string `json:"version,omitempty"`
|
Version string `json:"version,omitempty"`
|
||||||
CommitID string `json:"commitID,omitempty"`
|
CommitID string `json:"commitID,omitempty"`
|
||||||
Network map[string]string `json:"network,omitempty"`
|
Network map[string]string `json:"network,omitempty"`
|
||||||
Disks []Disk `json:"disks,omitempty"`
|
Disks []Disk `json:"drives,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Disk holds Disk information
|
// Disk holds Disk information
|
||||||
|
@ -61,7 +61,7 @@ type ServerLogOBDInfo struct {
|
|||||||
// SysOBDInfo - Includes hardware and system information of the MinIO cluster
|
// SysOBDInfo - Includes hardware and system information of the MinIO cluster
|
||||||
type SysOBDInfo struct {
|
type SysOBDInfo struct {
|
||||||
CPUInfo []ServerCPUOBDInfo `json:"cpus,omitempty"`
|
CPUInfo []ServerCPUOBDInfo `json:"cpus,omitempty"`
|
||||||
DiskHwInfo []ServerDiskHwOBDInfo `json:"disks,omitempty"`
|
DiskHwInfo []ServerDiskHwOBDInfo `json:"drives,omitempty"`
|
||||||
OsInfo []ServerOsOBDInfo `json:"osinfos,omitempty"`
|
OsInfo []ServerOsOBDInfo `json:"osinfos,omitempty"`
|
||||||
MemInfo []ServerMemOBDInfo `json:"meminfos,omitempty"`
|
MemInfo []ServerMemOBDInfo `json:"meminfos,omitempty"`
|
||||||
ProcInfo []ServerProcOBDInfo `json:"procinfos,omitempty"`
|
ProcInfo []ServerProcOBDInfo `json:"procinfos,omitempty"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user