Skip to content

Commit

Permalink
further extend debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Todorov committed Aug 11, 2016
1 parent b7a7027 commit 482da3d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vsphere-influxdb.go
Expand Up @@ -301,8 +301,11 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient.
if debug == true {
stdlog.Println("---cluster name - you should see every cluster here---")
stdlog.Println(cl.Name)
stdlog.Println("You should see the cluster object, clsuter configuration object, and cluster configuration dasvmconfig which should contain all VMs")
spew.Dump(cl)
spew.Dump(cl.Configuration)
spew.Dump(cl.Configuration.DasVmConfig)
}

for _, vm := range cl.Configuration.DasVmConfig {
if debug == true {
stdlog.Println("--VM ID - you should see every VM ID here--")
Expand Down

0 comments on commit 482da3d

Please sign in to comment.