Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hela Drira committed May 4, 2017
1 parent 781d50a commit b16cc79
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vsphere-influxdb.go
Expand Up @@ -289,12 +289,12 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient.
return
}
// Retrieve properties for all resourcepools
var respmo []mo.ResourcePool
err = pc.Retrieve(ctx, resp_refs, []string{"summary"}, &respmo)
if err != nil {
fmt.Println(err)
return
}
//var respmo []mo.ResourcePool
//err = pc.Retrieve(ctx, resp_refs, []string{"summary"}, &respmo)
//if err != nil {
// fmt.Println(err)
//return
//}

// Initialize the map that will hold the VM MOR to cluster reference
vmToCluster := make(map[types.ManagedObjectReference]string)
Expand Down

0 comments on commit b16cc79

Please sign in to comment.