Skip to content

Commit 2210d84

Browse files
Correct logic in message delivery and directory management (apache#42)
* Logical Error Fixed in delivererers.py inside src and cluster/directories.py * The Deliverers Module is deprecated and not used by any other module; furthermore, the documentation does not mention this module
1 parent 6325c2e commit 2210d84

File tree

2 files changed

+1
-311
lines changed

2 files changed

+1
-311
lines changed

src/dubbo/cluster/directories.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def notify(self, urls: list[URL]) -> None:
4646
# create new invokers
4747
for url in urls:
4848
k = str(url)
49-
if k in old_invokers.items():
49+
if k in old_invokers:
5050
self._invokers[k] = old_invokers[k]
5151
del old_invokers[k]
5252
else:

src/dubbo/deliverers.py

Lines changed: 0 additions & 310 deletions
This file was deleted.

0 commit comments

Comments
 (0)