Added some Output
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Stefan Hoffmann 2021-03-26 14:37:53 +01:00
parent a67089dcd5
commit ff9558c3ee

View File

@ -245,16 +245,19 @@ func processAPIs() {
var links []link var links []link
if conf.Unms.Enabled == true { if conf.Unms.Enabled == true {
fmt.Println("Processing UNMS")
unmsNodes, unmsLinks := processUNMSAPI() unmsNodes, unmsLinks := processUNMSAPI()
nodes = append(nodes, unmsNodes...) nodes = append(nodes, unmsNodes...)
links = append(links, unmsLinks...) links = append(links, unmsLinks...)
} }
if conf.Unifi.Enabled == true { if conf.Unifi.Enabled == true {
fmt.Println("Processing Unifi")
ucNodes, ucLinks := processUcAPIs() ucNodes, ucLinks := processUcAPIs()
nodes = append(nodes, ucNodes...) nodes = append(nodes, ucNodes...)
links = append(links, ucLinks...) links = append(links, ucLinks...)
} }
if conf.Meshviewer.Enabled == true { if conf.Meshviewer.Enabled == true {
fmt.Println("Processing Meshviewer")
mvNodes, mvLinks := getMeshviewer() mvNodes, mvLinks := getMeshviewer()
nodes = append(nodes, mvNodes...) nodes = append(nodes, mvNodes...)
links = append(links, mvLinks...) links = append(links, mvLinks...)