Fix variable names
This commit is contained in:
parent
eba6b58ffc
commit
160647fca0
|
@ -397,9 +397,9 @@ func (vcenter *VCenter) Query(config Configuration, InfluxDBClient influxclient.
|
||||||
vmSummary[vm.Self]["cluster"] = vmToCluster[vm.Self]
|
vmSummary[vm.Self]["cluster"] = vmToCluster[vm.Self]
|
||||||
}
|
}
|
||||||
if vmToPool[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
|
// get object names
|
||||||
|
|
Loading…
Reference in New Issue