Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sofixa committed Feb 3, 2018
1 parent cc748fd commit 2656627
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions vsphere-influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2656627

Please sign in to comment.