From 044ad82940843f6a7f283a2fc15f5dd1a8eedf5c Mon Sep 17 00:00:00 2001 From: Stefan Hoffmann Date: Wed, 4 Aug 2021 20:08:26 +0200 Subject: [PATCH] =?UTF-8?q?Don=C2=B4t=20use=20Links=20for=20Uniifi=20Nodes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 0a11a8b..2209f8d 100644 --- a/main.go +++ b/main.go @@ -74,9 +74,11 @@ func processAPIs() { } if conf.Unifi.Enabled { log.Println("Processing Unifi") - ucNodes, ucLinks := processUcAPIs() + //ucNodes, ucLinks := processUcAPIs() + ucNodes, _ := processUcAPIs() nodes = append(nodes, ucNodes...) - links = append(links, ucLinks...) + //links = append(links, ucLinks...) + //links = links } if conf.Meshviewer.Enabled { log.Println("Processing Meshviewer")