1
0
mirror of https://github.com/Oxalide/vsphere-influxdb-go.git synced 2023-10-10 13:36:51 +02:00

more bugfixes

This commit is contained in:
Adrian Todorov 2017-11-27 14:56:40 +01:00
parent 01483a5b97
commit 3fe6b1fc22

View File

@ -755,11 +755,6 @@ func average(n ...int64) int64 {
return int64(math.Floor(favg + .5))
}
func queryVCenter(vcenter VCenter, config Configuration, InfluxDBClient influxclient.Client) {
stdlog.Println("Querying vcenter")
vcenter.Query(config, InfluxDBClient)
}
func worker(id int, config Configuration, influxDBClient influxclient.Client, nowTime time.Time, vcenters <-chan *VCenter, results chan<- bool) {
for vcenter := range vcenters {
if debug {