Skip to content

Commit

Permalink
Fix variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
ADO committed May 24, 2017
1 parent eba6b58 commit 160647f
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 160647f

Please sign in to comment.