update deps, fix channel bug for uap_vaps

This commit is contained in:
davidnewhall2
2019-12-03 12:09:07 -08:00
parent 85c7f6441e
commit 4f77e5ea36
4 changed files with 12 additions and 17 deletions

View File

@@ -79,8 +79,7 @@ func (u *promUnifi) exportUDM(r report, d *unifi.UDM) {
})
// Wireless Data - UDM (non-pro) only
if d.Stat.Ap != nil && d.VapTable != nil {
u.exportUAPstats(r, labels, d.Stat.Ap)
// u.exportUAPstats(r, labels, d.Stat.Ap, d.BytesD, d.TxBytesD, d.RxBytesD, d.BytesR)
u.exportUAPstats(r, labels, d.Stat.Ap, d.BytesD, d.TxBytesD, d.RxBytesD, d.BytesR)
u.exportVAPtable(r, labels, *d.VapTable)
u.exportRADtable(r, labels, *d.RadioTable, *d.RadioTableStats)
}