Skip to content
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

Conversation

@BlackHole1 BlackHole1 force-pushed the export-hostContainersInternal branch from a99c229 to 472f2be Compare June 20, 2023 06:02
Copy link
Member

@vrothberg vrothberg left a 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]>
@BlackHole1 BlackHole1 force-pushed the export-hostContainersInternal branch from 472f2be to 5041913 Compare June 20, 2023 07:01
@BlackHole1
Copy link
Contributor Author

@vrothberg Done! 🚀

Copy link
Member

@Luap99 Luap99 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jun 20, 2023

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit c898877 into containers:main Jun 20, 2023
@BlackHole1 BlackHole1 deleted the export-hostContainersInternal branch June 20, 2023 10:48
BlackHole1 added a commit to BlackHole1/podman that referenced this pull request Jun 21, 2023
Use exported variables instead of hard-coded strings.

Ref: containers/common#1516

Signed-off-by: Black-Hole1 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants