Skip to content

Commit

Permalink
Issue #109: Fix getting Zabbix Proxy host ID
Browse files Browse the repository at this point in the history
  • Loading branch information
dnaeon committed Dec 5, 2014
1 parent 15d9469 commit 0c85d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zabbix/vsphere-import/zabbix-vsphere-import
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class ZabbixVSphere(object):
proxies = self.zapi.proxy.get(output='extend')

for proxy in proxies:
if proxy['name'] == name:
if proxy['host'] == name:
break
else:
return None
Expand Down

0 comments on commit 0c85d4e

Please sign in to comment.