From dc1bc7f1354a45007157f9293abc38fa094c97df Mon Sep 17 00:00:00 2001 From: Stefan Date: Sun, 14 May 2023 17:40:31 +0200 Subject: [PATCH] Removed unneeded line --- unifi.go | 1 - 1 file changed, 1 deletion(-) 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