notifications: remove dead code
This commit is contained in:
@@ -246,9 +246,6 @@ async function onEvent(id, action, source, data) {
|
||||
assert.strictEqual(typeof source, 'object');
|
||||
assert.strictEqual(typeof data, 'object');
|
||||
|
||||
// external ldap syncer does not generate notifications - FIXME username might be an issue here
|
||||
if (source.username === AuditSource.EXTERNAL_LDAP_TASK.username) return;
|
||||
|
||||
switch (action) {
|
||||
case eventlog.ACTION_APP_OOM:
|
||||
return await oomEvent(id, data.containerId, data.app, data.addonName, data.event);
|
||||
|
||||
Reference in New Issue
Block a user