Removed omitempty from loadavg and memory
This commit is contained in:
parent
2348f11d02
commit
a67089dcd5
4
types.go
4
types.go
@ -107,8 +107,8 @@ type node struct {
|
|||||||
ClientsWifi5 int `json:"clients_wifi5"`
|
ClientsWifi5 int `json:"clients_wifi5"`
|
||||||
ClientsOther int `json:"clients_other"`
|
ClientsOther int `json:"clients_other"`
|
||||||
RootFSUsage int `json:"rootfs_usage,omitempty"`
|
RootFSUsage int `json:"rootfs_usage,omitempty"`
|
||||||
LoadAVG float64 `json:"loadavg,omitempty"`
|
LoadAVG float64 `json:"loadavg"`
|
||||||
MemoryUsage float64 `json:"memory_usage,omitempty"`
|
MemoryUsage float64 `json:"memory_usage"`
|
||||||
Uptime string `json:"uptime"`
|
Uptime string `json:"uptime"`
|
||||||
GatewayNexthop string `json:"gateway_nexthop"`
|
GatewayNexthop string `json:"gateway_nexthop"`
|
||||||
Gateway string `json:"gateway"`
|
Gateway string `json:"gateway"`
|
||||||
|
Loading…
Reference in New Issue
Block a user