marshal device name to json output

This commit is contained in:
Andy Xie 2017-11-15 13:45:57 +08:00
parent 49e0496c8f
commit 9211091bdc

View File

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