0
0
Fork 0
mirror of https://github.com/alerta/alerta-contrib.git synced 2025-03-16 05:23:28 +00:00

[zabbix] User should be able to close if not yet ack'ed

This commit is contained in:
Nick Satterly 2020-11-23 21:03:01 +01:00
parent 59a976d5ae
commit d18494b812
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ class ZabbixEventAck(PluginBase):
elif status == 'closed':
try:
r = self.zapi.event.get(objectids=trigger_id, acknowledged=True, output='extend', sortfield='clock', sortorder='DESC', limit=10)
r = self.zapi.event.get(objectids=trigger_id, output='extend', sortfield='clock', sortorder='DESC', limit=10)
event_ids = [e['eventid'] for e in r]
except ZabbixAPIException:
event_ids = None

View file

@ -1,7 +1,7 @@
from setuptools import setup, find_packages
version = '5.1.1'
version = '5.1.2'
setup(
name="alerta-zabbix",