Commit f8f05c9
committed
fix(router-core): emit routed event with final_name instead of original name
resolve() was publishing the EVENT_ROUTED event with the originally-requested
name (which could be an alias or pre-BestRoute lookup) while the resolved
address belonged to final_name (the alias-resolved or best-scored route).
This copy-paste bug meant the route name and address in the event referred to
different routes. Now final_name is used consistently so the event always
pairs the correct name with its actual address.
Closes #7921 parent b2c506f commit f8f05c9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
842 | | - | |
| 842 | + | |
843 | 843 | | |
844 | 844 | | |
845 | 845 | | |
| |||
0 commit comments