Skip to content

add port metadata even if disablePortMapping set#109

Merged
mcred merged 1 commit intotitan-data:masterfrom
eschrock:feature/fix-disable-port
Nov 24, 2019
Merged

add port metadata even if disablePortMapping set#109
mcred merged 1 commit intotitan-data:masterfrom
eschrock:feature/fix-disable-port

Conversation

@eschrock
Copy link
Contributor

Proposed Changes

The latest changes for disablePortMapping are a bit too aggressive in how they manage the port metadata. We want that flag to only control whether ports are mapped when we run the container, not whether they're persisted in the metadata. That way, a later clone can choose to forward those ports if it so desires.

Testing

Launched a container with --disabplePortMapping. Verified that ports were not mapped, but also that ports were present in the repo metadata.

@eschrock eschrock requested a review from a team as a code owner November 24, 2019 01:55
@mcred mcred merged commit 34f84c1 into titan-data:master Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants