bug squash
This commit is contained in:
parent
562e244451
commit
bfda3820a4
|
|
@ -34,7 +34,6 @@ func (u UAP) Points() ([]*influx.Point, error) {
|
||||||
"device_id": u.DeviceID,
|
"device_id": u.DeviceID,
|
||||||
"discovered_via": u.DiscoveredVia,
|
"discovered_via": u.DiscoveredVia,
|
||||||
"fw_caps": strconv.Itoa(u.FwCaps),
|
"fw_caps": strconv.Itoa(u.FwCaps),
|
||||||
"guest-num_sta": strconv.Itoa(u.GuestNumSta),
|
|
||||||
"guest_token": u.GuestToken,
|
"guest_token": u.GuestToken,
|
||||||
"has_eth1": u.HasEth1.Txt,
|
"has_eth1": u.HasEth1.Txt,
|
||||||
"has_speaker": u.HasSpeaker.Txt,
|
"has_speaker": u.HasSpeaker.Txt,
|
||||||
|
|
@ -72,6 +71,7 @@ func (u UAP) Points() ([]*influx.Point, error) {
|
||||||
"state": u.State,
|
"state": u.State,
|
||||||
"upgradable": u.Upgradable.Val,
|
"upgradable": u.Upgradable.Val,
|
||||||
"user-num_sta": u.UserNumSta,
|
"user-num_sta": u.UserNumSta,
|
||||||
|
"guest-num_sta": u.GuestNumSta,
|
||||||
"version": u.Version,
|
"version": u.Version,
|
||||||
"loadavg_1": u.SysStats.Loadavg1,
|
"loadavg_1": u.SysStats.Loadavg1,
|
||||||
"loadavg_5": u.SysStats.Loadavg5,
|
"loadavg_5": u.SysStats.Loadavg5,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue