This commit is contained in:
Adrian Todorov 2018-02-03 21:29:32 +01:00
parent cc748fd2ae
commit 2656627e47
1 changed files with 0 additions and 7 deletions

View File

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