From 6df7b91c51db340e913c090430047cb63768f2df Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 13 Oct 2016 16:06:10 +0100 Subject: [PATCH] ciao-controller: Fix duplicated json identifier in NodeStats This issue was identified by a new version of "go vet": https://github.com/golang/go/commit/4940a8379096 Signed-off-by: Rob Bradford --- ciao-controller/types/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ciao-controller/types/types.go b/ciao-controller/types/types.go index 3a355ef86..7aa98130f 100644 --- a/ciao-controller/types/types.go +++ b/ciao-controller/types/types.go @@ -144,7 +144,7 @@ type NodeStats struct { Load int `json:"load"` MemTotalMB int `json:"mem_total_mb"` MemAvailableMB int `json:"mem_available_mb"` - DiskTotalMB int `json:"mem_total_mb"` + DiskTotalMB int `json:"disk_total_mb"` DiskAvailableMB int `json:"disk_available_mb"` CpusOnline int `json:"cpus_online"` }