fix sticky acknowledgements not getting recognized

This commit is contained in:
Franzi 2021-06-22 06:55:22 +02:00
parent 0307fe42f3
commit 5a1658478a
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -76,7 +76,7 @@ def regenerate():
if host['attrs']['downtime_depth'] > 0:
continue
if host['attrs']['acknowledgement'] == 1:
if host['attrs']['acknowledgement'] > 0:
if not CONFIG['show_ack']:
continue
@ -107,7 +107,7 @@ def regenerate():
if svc['attrs']['downtime_depth'] > 0 or svc['attrs']['host_name'] in broken_hosts:
continue
if svc['attrs']['acknowledgement'] == 1:
if svc['attrs']['acknowledgement'] > 0:
if not CONFIG['show_ack']:
continue