summaryrefslogtreecommitdiffstats
path: root/roles/lib_zabbix/library/zbx_discoveryrule.py
diff options
context:
space:
mode:
Diffstat (limited to 'roles/lib_zabbix/library/zbx_discoveryrule.py')
-rw-r--r--roles/lib_zabbix/library/zbx_discoveryrule.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/roles/lib_zabbix/library/zbx_discoveryrule.py b/roles/lib_zabbix/library/zbx_discoveryrule.py
index 71141bd54..f32267818 100644
--- a/roles/lib_zabbix/library/zbx_discoveryrule.py
+++ b/roles/lib_zabbix/library/zbx_discoveryrule.py
@@ -183,8 +183,6 @@ def main():
module.exit_json(changed=False, results=zab_results, state="present")
# We have differences and need to update
- module.exit_json(failed=True, changed=False, results=differences, state="present")
-
differences[idname] = zab_results[idname]
content = zapi.get_content(zbx_class_name, 'update', differences)