Removed omitempty from loadavg and memory

This commit is contained in:
Stefan Hoffmann 2021-03-26 14:37:42 +01:00
parent 2348f11d02
commit a67089dcd5

View File

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