From b7a7027a86e74404cebd595d69b7dd68d885f6a6 Mon Sep 17 00:00:00 2001 From: Adrian Todorov Date: Wed, 10 Aug 2016 18:22:03 +0200 Subject: [PATCH] extending debug mode --- vsphere-influxdb.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vsphere-influxdb.go b/vsphere-influxdb.go index 45f2bb6..8ce8661 100644 --- a/vsphere-influxdb.go +++ b/vsphere-influxdb.go @@ -21,7 +21,7 @@ import ( "encoding/json" "flag" "fmt" - // "github.com/davecgh/go-spew/spew" + "github.com/davecgh/go-spew/spew" "golang.org/x/net/context" "log" "math" @@ -249,6 +249,7 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient. new_mors := []types.ManagedObjectReference{} + spew.Dump(mors) // Assign each MORS type to a specific array for _, mor := range mors { if mor.Type == "VirtualMachine" {