Add read-only PostgreSQL notification target action
This commit is contained in:
+2
-1
@@ -96,7 +96,8 @@ class Plugin:
|
||||
f"plugin {self.name} does not support action {action}"
|
||||
)
|
||||
|
||||
handler = getattr(self.module, action, None)
|
||||
handler_name = action.replace(".", "_")
|
||||
handler = getattr(self.module, handler_name, None)
|
||||
|
||||
if handler is None:
|
||||
raise RegistryError(
|
||||
|
||||
Reference in New Issue
Block a user