Don´t use Links for Uniifi Nodes
All checks were successful
continuous-integration/drone/tag Build is passing

This commit is contained in:
Stefan Hoffmann 2021-08-04 20:08:26 +02:00
parent e7aa06f647
commit 044ad82940

View File

@ -74,9 +74,11 @@ func processAPIs() {
} }
if conf.Unifi.Enabled { if conf.Unifi.Enabled {
log.Println("Processing Unifi") log.Println("Processing Unifi")
ucNodes, ucLinks := processUcAPIs() //ucNodes, ucLinks := processUcAPIs()
ucNodes, _ := processUcAPIs()
nodes = append(nodes, ucNodes...) nodes = append(nodes, ucNodes...)
links = append(links, ucLinks...) //links = append(links, ucLinks...)
//links = links
} }
if conf.Meshviewer.Enabled { if conf.Meshviewer.Enabled {
log.Println("Processing Meshviewer") log.Println("Processing Meshviewer")