Skip to content

Conversation

@fujitatomoya
Copy link
Collaborator

refactoring to get rid of redundancy for code maintenance.

Copy link
Collaborator Author

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@iuhilnehc-ynos can you take a look at this?

@fujitatomoya fujitatomoya self-assigned this Nov 29, 2023
@iuhilnehc-ynos
Copy link
Collaborator

To reduce the duplication seems good to me. I think that using the common API might be the correct way, which was the reason I used rcl_convert_rcutils_ret_to_rcl_ret instead of rcl_ret_from_rcutils_ret in #1115.

To set the error message explictly if needed is a better way because we would like to keep the same consistent behavior in rcl.

Copy link
Collaborator

@iuhilnehc-ynos iuhilnehc-ynos left a comment

Choose a reason for hiding this comment

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

LGTM with green CI.

@fujitatomoya
Copy link
Collaborator Author

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@fujitatomoya fujitatomoya merged commit 13c0cbb into rolling Nov 30, 2023
@delete-merged-branch delete-merged-branch bot deleted the fujitatomoya/remove-rcl_ret_from_rcutils_ret branch November 30, 2023 03: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.

3 participants