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 NodeInfo update after Reader discovery #346

Merged
merged 1 commit into from
Nov 29, 2024
Merged

Conversation

JEnoch
Copy link
Member

@JEnoch JEnoch commented Nov 28, 2024

Reviewing the code, I spotted an inconsistency in code reacting to the discovery of a DDS Reader and updating the NodeInfo object:
node.update_with_writer(&reader); was called instead of
node.update_with_reader(&reader);

AFAICT this bug was only affecting the view of what has been discovered for a Node in the admin space, and only in the case the bridge received the ros_discovery_info message declaring the Reader before discovering this DDS Reader.
This case probably rarely occurs.

@JEnoch JEnoch added the bug Something isn't working label Nov 28, 2024
@JEnoch JEnoch requested a review from evshary November 28, 2024 15:25
@JEnoch JEnoch self-assigned this Nov 28, 2024
Copy link
Contributor

@evshary evshary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@JEnoch JEnoch merged commit 26276e3 into main Nov 29, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants