marshal device name to json output
This commit is contained in:
parent
49e0496c8f
commit
9211091bdc
@ -307,7 +307,7 @@ type CpuStats struct {
|
||||
}
|
||||
|
||||
type PerDiskStats struct {
|
||||
Device string `json:"-"`
|
||||
Device string `json:"device"`
|
||||
Major uint64 `json:"major"`
|
||||
Minor uint64 `json:"minor"`
|
||||
Stats map[string]uint64 `json:"stats"`
|
||||
|
Loading…
Reference in New Issue
Block a user