Fix to remove unnecessary duplicate line (#67761)

This commit is contained in:
sky-joker 2020-02-26 21:48:15 +09:00 committed by GitHub
parent e3591223a0
commit 305789144a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -234,7 +234,6 @@ class Host(object):
def get_triggers_by_host_id_in_problem_state(self, host_id, trigger_severity):
""" Get triggers in problem state from a hostid"""
# https://www.zabbix.com/documentation/3.4/manual/api/reference/trigger/get
output = ['triggerids', 'description', 'priority']
output = 'extend'
triggers_list = self._zapi.trigger.get({'output': output, 'hostids': host_id,
'min_severity': trigger_severity})