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

fix: add support for "host:port" forwardPorts syntax #327

Merged
merged 1 commit into from
May 22, 2023

Conversation

lizardruss
Copy link
Contributor

@lizardruss lizardruss commented May 19, 2023

fixes: #305
Fixes ENG-1420

@netlify
Copy link

netlify bot commented May 19, 2023

Deploy Preview for devpod-docs canceled.

Name Link
🔨 Latest commit 98d0668
🔍 Latest deploy log https://app.netlify.com/sites/devpod-docs/deploys/646b9442af2bbe00088532c2

@lizardruss lizardruss force-pushed the forward-port-syntax branch 3 times, most recently from 24d7db2 to fad948e Compare May 19, 2023 21:56
@@ -354,3 +355,55 @@ func (m *Mount) UnmarshalJSON(data []byte) error {
}
return types.ErrUnsupportedType
}

Copy link
Contributor Author

@lizardruss lizardruss May 19, 2023

Choose a reason for hiding this comment

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

found StrIntArray after implementing this.. I can refactor if desired.

Copy link
Member

@FabianKramm FabianKramm left a comment

Choose a reason for hiding this comment

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

@lizardruss thanks for the PR! Yeah please use types.StrIntArray instead, like we do for AppPort

@lizardruss lizardruss force-pushed the forward-port-syntax branch from fad948e to 98d0668 Compare May 22, 2023 16:11
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.

forwardPorts not support "host:port" syntax
2 participants