From a67089dcd5cab5e1325e909f1384936764d44384 Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Fri, 26 Mar 2021 14:37:42 +0100 Subject: [PATCH] Removed omitempty from loadavg and memory --- types.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types.go b/types.go index 98946f7..6dbc04d 100644 --- a/types.go +++ b/types.go @@ -107,8 +107,8 @@ type node struct { ClientsWifi5 int `json:"clients_wifi5"` ClientsOther int `json:"clients_other"` RootFSUsage int `json:"rootfs_usage,omitempty"` - LoadAVG float64 `json:"loadavg,omitempty"` - MemoryUsage float64 `json:"memory_usage,omitempty"` + LoadAVG float64 `json:"loadavg"` + MemoryUsage float64 `json:"memory_usage"` Uptime string `json:"uptime"` GatewayNexthop string `json:"gateway_nexthop"` Gateway string `json:"gateway"`