diff --git a/unifi.go b/unifi.go index 67f73ca..fe168ec 100644 --- a/unifi.go +++ b/unifi.go @@ -41,7 +41,6 @@ func processUcAPIs() ([]node, []link, error) { for _, jsonDevice := range d.Devices { var currentDevice ucDevice var currentJSONDevice device - isOnline := currentDevice.State == 1 for _, device := range devices { if strings.EqualFold(device.Mac, jsonDevice.MAC) { currentDevice = device