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

master
Shireesh Anjal 4 years ago committed by GitHub
parent d73c4f09f3
commit b17dc81540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pkg/madmin/info-commands.go
  2. 2
      pkg/madmin/obd.go

@ -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

@ -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"`

Loading…
Cancel
Save