go 1.19 interface{} -> any

This commit is contained in:
Cody Lee
2022-12-03 16:32:12 -06:00
parent b05453b643
commit 247cc868b3
36 changed files with 120 additions and 120 deletions

View File

@@ -74,7 +74,7 @@ func descClient(ns string) *uclient {
}
}
func (u *promUnifi) exportClientDPI(r report, v interface{}, appTotal, catTotal totalsDPImap) {
func (u *promUnifi) exportClientDPI(r report, v any, appTotal, catTotal totalsDPImap) {
s, ok := v.(*unifi.DPITable)
if !ok {
u.LogErrorf("invalid type given to ClientsDPI: %T", v)