extending debug mode

This commit is contained in:
Adrian Todorov 2016-08-10 18:22:03 +02:00
parent 143b0d12aa
commit b7a7027a86
1 changed files with 2 additions and 1 deletions

View File

@ -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" {