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

MiniLangstream should error out if no NodePort exists for a service (#698) #700

Merged
merged 1 commit into from
Nov 8, 2023

Conversation

Gagravarr
Copy link
Contributor

Add error handling to the shell script function start_port_forward to avoid the current hanging if no node port is defined for the service.

Doesn't attempt any alternate forwarding (eg kubectl), just gives a moderately helpful message and errors out.

Add error handling to the shell script function `start_port_forward`
to avoid the current hanging if no *node port* is defined for the
service.

Doesn't attempt any alternate forwarding (eg kubectl), just gives
a moderately helpful message and errors out.
Copy link
Member

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Lgtm

@nicoloboschi can you please review here?

@eolivelli
Copy link
Member

Please fill in https://cla.datastax.com then we can merge your patch.
Thanks

@Gagravarr
Copy link
Contributor Author

CLA filed (with my Apache email)

@eolivelli eolivelli merged commit d362a02 into LangStream:main Nov 8, 2023
10 checks passed
benfrank241 pushed a commit to vectorize-io/langstream that referenced this pull request May 2, 2024
…ream#700)

Add error handling to the shell script function `start_port_forward`
to avoid the current hanging if no *node port* is defined for the
service.

Doesn't attempt any alternate forwarding (eg kubectl), just gives
a moderately helpful message and errors out.

Co-authored-by: Nick Burch <code@gagravarr.org>
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.

None yet

3 participants