more bugfixes

This commit is contained in:
Adrian Todorov 2017-11-27 14:56:40 +01:00
parent 01483a5b97
commit 3fe6b1fc22
1 changed files with 0 additions and 5 deletions

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 {