Repository navigation
refactor: Consistently use context args over gArgs in node/interfaces - #27239
Hidden character warning
Conversation
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
|
Concept ACK |
ryanofsky
left a comment
There was a problem hiding this comment.
Code review ACK facbb444bf5aea2bbaa4a4246a8a2c661d9bf314. Thanks for the cleanup. Could s/consistenly/consistently/ too
facbb44 to
fa3e9b4
Compare
|
re-ACK facbb44 |
|
@TheCharlatan note that you've re-ACK'd the wrong commit hash. |
Currently
node/interfaces.cppuses a mix ofgArgsvsm_context->args. This is fine, because outside of tests those should be identical. However, it makes the code inconsistent and harder to use in tests.Fix that by using
argsfrom the context consistently. Do the same ininit.cpp, wheregArgsandargsare inconsistently used in the same scope or even line.