Skip to content

Commit

Permalink
extending debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Todorov committed Aug 10, 2016
1 parent 143b0d1 commit b7a7027
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vsphere-influxdb.go
Expand Up @@ -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"
Expand Down Expand Up @@ -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" {
Expand Down

0 comments on commit b7a7027

Please sign in to comment.