Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
631a5e398f | ||
|
e6583918c1 |
2
unifi.go
2
unifi.go
@ -133,6 +133,7 @@ func processUnifiAPI(s int) ([]node, []link, error) {
|
||||
|
||||
// INFLUX STOP
|
||||
//log.Println(currentDevice.Mac)
|
||||
if currentDevice.Mac != "" {
|
||||
nodes = append(nodes, node{
|
||||
Firstseen: "0",
|
||||
Lastseen: time.Unix(int64(currentDevice.LastSeen), 0).Format(iso8601),
|
||||
@ -167,6 +168,7 @@ func processUnifiAPI(s int) ([]node, []link, error) {
|
||||
Model: model,
|
||||
})
|
||||
}
|
||||
}
|
||||
return nodes, links, err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user