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