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(endpoint): check container_ports as well #723

Merged
merged 2 commits into from
Feb 9, 2024
Merged

Conversation

neurosnap
Copy link
Member

@neurosnap neurosnap commented Feb 8, 2024

@neurosnap neurosnap requested a review from joshraker February 8, 2024 20:10
@@ -85,7 +85,7 @@ export const AppCreateEndpointPage = () => {
const [certId, setCertId] = useState("");
const [privKey, setPrivKey] = useState("");
const portText = getContainerPort(
{ containerPort: port },
{ containerPort: port, containerPorts: [] },
Copy link
Member

Choose a reason for hiding this comment

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

Could get creative with the types so that we don't need to include the empty ports here.

@neurosnap neurosnap merged commit 2f4d555 into main Feb 9, 2024
3 checks passed
@neurosnap neurosnap deleted the fix-endpoint-port branch February 9, 2024 18:27
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