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

libnetwork/pasta: fix multiple --map-gw parsing #1968

Merged
merged 2 commits into from
Apr 26, 2024

Conversation

Luap99
Copy link
Member

@Luap99 Luap99 commented Apr 25, 2024

It is possible for a user to set --map-gw more than once so we should
handle it correctly.

The main advantage is that we do not have to iterate through all the
ports we added again to check for the custom ports.

Signed-off-by: Paul Holzinger <[email protected]>
It is possible for a user to set --map-gw more than once so we should
handle it correctly.

Signed-off-by: Paul Holzinger <[email protected]>
Copy link
Contributor

openshift-ci bot commented Apr 25, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 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

@rhatdan
Copy link
Member

rhatdan commented Apr 25, 2024

LGTM

@sbrivio-rh
Copy link
Collaborator

LGTM

Reviewed-by: Stefano Brivio <[email protected]>

@rhatdan
Copy link
Member

rhatdan commented Apr 26, 2024

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Apr 26, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit ae4635f into containers:main Apr 26, 2024
7 checks passed
@Luap99 Luap99 deleted the map-gw branch April 26, 2024 08:57
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.

None yet

3 participants