mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 13:36:51 +02:00
test
This commit is contained in:
parent
781d50a12b
commit
b16cc794ca
@ -289,12 +289,12 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient.
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
// Retrieve properties for all resourcepools
|
// Retrieve properties for all resourcepools
|
||||||
var respmo []mo.ResourcePool
|
//var respmo []mo.ResourcePool
|
||||||
err = pc.Retrieve(ctx, resp_refs, []string{"summary"}, &respmo)
|
//err = pc.Retrieve(ctx, resp_refs, []string{"summary"}, &respmo)
|
||||||
if err != nil {
|
//if err != nil {
|
||||||
fmt.Println(err)
|
// fmt.Println(err)
|
||||||
return
|
//return
|
||||||
}
|
//}
|
||||||
|
|
||||||
// Initialize the map that will hold the VM MOR to cluster reference
|
// Initialize the map that will hold the VM MOR to cluster reference
|
||||||
vmToCluster := make(map[types.ManagedObjectReference]string)
|
vmToCluster := make(map[types.ManagedObjectReference]string)
|
||||||
|
Loading…
Reference in New Issue
Block a user