From 2656627e472f9dd2ffa4fedaa0ad7d592ef974dc Mon Sep 17 00:00:00 2001 From: Adrian Todorov Date: Sat, 3 Feb 2018 21:29:32 +0100 Subject: [PATCH] cleanup --- vsphere-influxdb.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/vsphere-influxdb.go b/vsphere-influxdb.go index 39dc524..905085d 100644 --- a/vsphere-influxdb.go +++ b/vsphere-influxdb.go @@ -701,13 +701,6 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient. } } - // var respool []mo.ResourcePool - // err = pc.Retrieve(ctx, respoolRefs, []string{"name", "config", "vm"}, &respool) - // if err != nil { - // errlog.Println(err) - // continue - // } - for _, pool := range respool { respoolFields := map[string]interface{}{ "cpu_limit": pool.Config.CpuAllocation.GetResourceAllocationInfo().Limit,