event-hooks: give unique names to event hooks

This commit is contained in:
Ashok Sidipotu
2022-07-15 09:57:01 +05:30
committed by Julian Bouzas
parent 6bdc6fb697
commit d57e387f75
7 changed files with 17 additions and 17 deletions

View File

@@ -60,7 +60,7 @@ function configProperties (node)
end
AsyncEventHook {
name = "create-item",
name = "node-added@create-item",
type = "on-event",
priority = "node-added-create-item",
interests = {
@@ -140,7 +140,7 @@ AsyncEventHook {
}:register ()
SimpleEventHook {
name = "create-item",
name = "node-removed@create-item",
type = "on-event",
priority = "node-removed-create-item",
interests = {