Merge pull request #2234 from lalinsky/zabbix-host-proxy

monitoring/zabbix_host: Fix (no) proxy handling
reviewable/pr18780/r1
Adrian Likins 9 years ago
commit 05d9a41ca5

@ -362,8 +362,9 @@ class Host(object):
if set(list(template_ids)) != set(exist_template_ids): if set(list(template_ids)) != set(exist_template_ids):
return True return True
if host['proxy_hostid'] != proxy_id: if proxy_id is not None:
return True if host['proxy_hostid'] != proxy_id:
return True
return False return False

Loading…
Cancel
Save