mirror of
				https://github.com/Oxalide/vsphere-influxdb-go.git
				synced 2023-10-10 11:36:51 +00:00 
			
		
		
		
	Added additional debug for "mors"
This commit is contained in:
		| @@ -253,7 +253,9 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient. | ||||
|  | ||||
| 	newMors := []types.ManagedObjectReference{} | ||||
|  | ||||
| 	spew.Dump(mors) | ||||
| 	if debug == true { | ||||
| 		spew.Dump(mors) | ||||
| 	} | ||||
| 	// Assign each MORS type to a specific array | ||||
| 	for _, mor := range mors { | ||||
| 		if mor.Type == "VirtualMachine" { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user