Removed unneeded line
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Stefan Hoffmann 2023-05-14 17:40:31 +02:00
parent c8c7c9e938
commit dc1bc7f135
Signed by: stefan
GPG Key ID: 8EFC7042BF8D5CDD

View File

@ -41,7 +41,6 @@ func processUcAPIs() ([]node, []link, error) {
for _, jsonDevice := range d.Devices { for _, jsonDevice := range d.Devices {
var currentDevice ucDevice var currentDevice ucDevice
var currentJSONDevice device var currentJSONDevice device
isOnline := currentDevice.State == 1
for _, device := range devices { for _, device := range devices {
if strings.EqualFold(device.Mac, jsonDevice.MAC) { if strings.EqualFold(device.Mac, jsonDevice.MAC) {
currentDevice = device currentDevice = device