From 608b9589f296895e771317445c1906946479c9df Mon Sep 17 00:00:00 2001 From: "Maciej \"Iwan\" Iwanowski" Date: Thu, 12 Mar 2020 09:33:08 +0100 Subject: [PATCH] Adding missing struct tags for JSON consistency Signed-off-by: Maciej "Iwan" Iwanowski --- info/v1/machine.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/info/v1/machine.go b/info/v1/machine.go index 3af5d15f..68eba48d 100644 --- a/info/v1/machine.go +++ b/info/v1/machine.go @@ -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 {