Browse Source

cleanup

pull/81/head
Adrian Todorov 4 years ago
parent
commit
2656627e47
  1. 7
      vsphere-influxdb.go

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

Loading…
Cancel
Save