-
Notifications
You must be signed in to change notification settings - Fork 202
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
refactor(hosts): export hostContainersInternal variable #1516
refactor(hosts): export hostContainersInternal variable #1516
Conversation
a99c229
to
472f2be
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.
Thanks! Code LGTM
A commit message explaining why we need to export the variable would be appreciated.
@Luap99 PTAL
Because we need to use the value of this variable in podman, exporting this variable means we don't have to hardcode this string in podman. This will make the code easier to maintain. Signed-off-by: Black-Hole1 <[email protected]>
472f2be
to
5041913
Compare
@vrothberg Done! 🚀 |
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.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BlackHole1, Luap99 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Use exported variables instead of hard-coded strings. Ref: containers/common#1516 Signed-off-by: Black-Hole1 <[email protected]>
See: https://github.com/containers/podman/pull/18936/files#diff-2c925d6ff6f9b6848d4c49e021e3ca1cc2641d631b871f1a59279a70fc4314deR621