Skip to content

Commit 6907801

Browse files
author
Guilherme Baufaker Rêgo
committed
Fixing Listing Triggers for Hawkular 2.0
1 parent 0f60262 commit 6907801

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

hawkular/alerts.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,9 @@ class Severity:
128128

129129

130130
class HawkularAlertsClient(HawkularBaseClient):
131-
def list_triggers(self, ids=[], tags=[]):
132-
ids = ','.join(ids)
131+
def list_triggers(self, tags=[]):
133132
tags = ','.join(tags)
134-
url = self._service_url('triggers', {'tags': tags, 'ids': ids})
133+
url = self._service_url('triggers', {'tags': tags})
135134
triggers_dict = self._get(url)
136135
return Trigger.list_to_object_list(triggers_dict)
137136

0 commit comments

Comments
 (0)