Skip to content

Commit

Permalink
Merge pull request #22 from adongy/master
Browse files Browse the repository at this point in the history
Fix variable names
  • Loading branch information
sofixa committed Jun 2, 2017
2 parents c5579d6 + 160647f commit c154ed0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vsphere-influxdb.go
Expand Up @@ -397,9 +397,9 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient.
vmSummary[vm.Self]["cluster"] = vmToCluster[vm.Self]
}
if vmToPool[vm.Self] != "" {
vmsummary[vm.Self]["respool"] = vmToPool[vm.Self]
vmSummary[vm.Self]["respool"] = vmToPool[vm.Self]
}
vmsummary[vm.Self]["esx"] = host_summary[*vm.Summary.Runtime.Host]["name"]
vmSummary[vm.Self]["esx"] = hostSummary[*vm.Summary.Runtime.Host]["name"]
}

// get object names
Expand Down

0 comments on commit c154ed0

Please sign in to comment.