-
Notifications
You must be signed in to change notification settings - Fork 76
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
Adapt API style of lock_memory to match the one of the other functions #209
Adapt API style of lock_memory to match the one of the other functions #209
Conversation
This is API breaking. I prefer to have a proper deprecation |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #209 +/- ##
==========================================
- Coverage 73.42% 72.55% -0.88%
==========================================
Files 7 7
Lines 414 419 +5
Branches 68 68
==========================================
Hits 304 304
- Misses 68 73 +5
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@saikishor That's a very good point I missed out. I adapted the PR accordingly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for taking care of the deprecation.
@Mergifyio backport humble |
✅ Backports have been created
|
#209) Co-authored-by: Lennart Nachtigall <[email protected]> (cherry picked from commit 069df6d)
…s (backport #209) (#229) Adapt API style of lock_memory to match the one of the other functions (#209) Co-authored-by: Lennart Nachtigall <[email protected]> (cherry picked from commit 069df6d) Co-authored-by: Lennart Nachtigall <[email protected]>
This PR adapts the API style of the lock_memory function to match the style of the other methods.
I will create a PR that adapts the usage in ros2 control:
https://github.com/search?q=repo%3Aros-controls%2Fros2_control%20lock_memory&type=code
Which is also the only place it is currently used:
https://github.com/search?q=realtime_tools%3A%3Alock_memory&type=code