[BUGFIX] export value 0 in output meshviewer-ffrgb

fixed #99
This commit is contained in:
Geno 2017-11-17 11:00:01 +01:00 committed by GitHub
parent 0d8fddbcb7
commit 9720835e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,8 +22,8 @@ type Node struct {
ClientsWifi24 uint32 `json:"clients_wifi24"` ClientsWifi24 uint32 `json:"clients_wifi24"`
ClientsWifi5 uint32 `json:"clients_wifi5"` ClientsWifi5 uint32 `json:"clients_wifi5"`
ClientsOthers uint32 `json:"clients_other"` ClientsOthers uint32 `json:"clients_other"`
RootFSUsage float64 `json:"rootfs_usage,omitempty"` RootFSUsage float64 `json:"rootfs_usage"`
LoadAverage float64 `json:"loadavg,omitempty"` LoadAverage float64 `json:"loadavg"`
MemoryUsage *float64 `json:"memory_usage,omitempty"` MemoryUsage *float64 `json:"memory_usage,omitempty"`
Uptime jsontime.Time `json:"uptime,omitempty"` Uptime jsontime.Time `json:"uptime,omitempty"`
GatewayNexthop string `json:"gateway_nexthop,omitempty"` GatewayNexthop string `json:"gateway_nexthop,omitempty"`