Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix traceroute #233

Merged
merged 5 commits into from
Oct 14, 2020
Merged

Fix traceroute #233

merged 5 commits into from
Oct 14, 2020

Conversation

ghjm
Copy link
Contributor

@ghjm ghjm commented Oct 13, 2020

See #223. The problem was that at some previous stage, the SubscribeUnreachable mechanism was switched from sending UnreachableMessage to sending map[string]string, but this change was only partially completed. This didn't cause any errors because the Broker class takes interface{}, so it passed these messages through just fine, but then they weren't processed on the receiving side.

This PR adds type enforcement to the Broker class, and adds a new UnreachableNotification struct, which includes UnreachableMessage and also the additional information of which node the message was received from.

@ghjm ghjm requested a review from fosterseth October 13, 2020 15:48
@ghjm ghjm requested a review from fosterseth October 13, 2020 22:11
@ghjm
Copy link
Contributor Author

ghjm commented Oct 13, 2020

I added more stuff to this @fosterseth. Requesting re-review

@ghjm ghjm merged commit 5a1cd5d into ansible:devel Oct 14, 2020
@ghjm ghjm deleted the fix_traceroute branch October 14, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants