-
Notifications
You must be signed in to change notification settings - Fork 187
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
chore: cleanup globals in pkg/cgroup #1726
chore: cleanup globals in pkg/cgroup #1726
Conversation
🤖 SeineSailor Here is a concise summary of the pull request changes: Summary: This pull request refactors the Key Modifications:
Impact on Codebase:
Observations and Suggestions:
Overall, this pull request improves the codebase's maintainability and organization, making it easier to understand and modify the |
8d69828
to
6661609
Compare
6661609
to
c562464
Compare
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.
refactoring by moving all variable to cache struct is fine to me. Just leave some comments.
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.
requesting changes to consider
- use of init
- remove
ensureCacheInitialised
- let
cache
handle when Mutex should be locked / unlocked
Signed-off-by: Maryam Tahhan <[email protected]>
9f1978b
to
ae99a51
Compare
Signed-off-by: Maryam Tahhan <[email protected]>
Hi @sthaha Thanks |
@sthaha sorry to poke again, can you have a look at the updates? Thanks again |
Sorry, this completely slipped my radar :( .. |
Signed-off-by: Maryam Tahhan <[email protected]>
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.
Thanks @maryamtahhan
cleanup globals in pkg/cgroup