mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Fix tests for project notifications.
This commit is contained in:
1 parent
7fe8f7e716
commit
135d56371d
6 files changed
+79
-85
No files matched your search
@@ -110,9 +110,9 @@ class Notification:
|
||||
self.project_emit("node.updated", node.__json__())
|
||||
except (aiohttp.web.HTTPNotFound, aiohttp.web.HTTPForbidden): # Project closing
|
||||
return
|
||||
# elif action == "ping":
|
||||
# event["compute_id"] = compute_id
|
||||
# self.project_emit(action, event)
|
||||
elif action == "ping":
|
||||
event["compute_id"] = compute_id
|
||||
self.project_emit(action, event)
|
||||
else:
|
||||
self.project_emit(action, event, project_id)
|
||||
|
||||
|
||||
Reference in new issue
Block a user