Merge pull request #2426 from iwankgb/missing_struct_tags
Adding missing struct tags for JSON consistency
This commit is contained in:
commit
9251e327b9
@ -213,10 +213,10 @@ type MachineInfo struct {
|
||||
|
||||
type MemoryInfo struct {
|
||||
// The amount of memory (in bytes).
|
||||
Capacity uint64
|
||||
Capacity uint64 `json:"capacity"`
|
||||
|
||||
// Number of memory DIMMs.
|
||||
DimmCount uint
|
||||
DimmCount uint `json:"dimm_count"`
|
||||
}
|
||||
|
||||
type VersionInfo struct {
|
||||
|
Loading…
Reference in New Issue
Block a user