Browse Source

more bugfixes

pull/53/head v0.8.2
Adrian Todorov 4 years ago
parent
commit
3fe6b1fc22
  1. 5
      vsphere-influxdb.go

5
vsphere-influxdb.go

@ -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 {

Loading…
Cancel
Save