We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34c5e65 commit 4408bedCopy full SHA for 4408bed
sdcclient/_client.py
@@ -213,6 +213,11 @@ def get_notification_ids(self, channels):
213
if 'channel' in opt and opt['channel'] == c['channel']:
214
found = True
215
ids.append(ch['id'])
216
+ elif c['type'] == 'OPSGENIE':
217
+ if 'name' in c:
218
+ if c['name'] == ch['name']:
219
+ found = True
220
+ ids.append(ch['id'])
221
if not found:
222
return [False, "Channel not found: " + str(c)]
223
0 commit comments