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

Error for invalid endpoint #665

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

markmandel
Copy link
Member

What type of PR is this?

Uncomment only one /kind <> line, press enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug

/kind cleanup

/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:

Rather than searching for a string in an error message, this creates an Error type for when an xDS endpoint address is invalid.

http::Uri will allow some Uri formats that will fail for us, so we also add some extra checks of our own to ensure we have all the information we need to make a connection.

Which issue(s) this PR fixes:

N/A

Special notes for your reviewer:

N/A

Rather than searching for a string in an error message, this creates an
Error type for when an xDS endpoint address is invalid.

`http::Uri` will allow some Uri formats that will fail for us, so we
also add some extra checks of our own to ensure we have all the
information we need to make a connection.
@markmandel markmandel added the kind/cleanup Refactoring code, fixing up documentation, etc label Dec 14, 2022
@quilkin-bot
Copy link
Collaborator

Build Succeeded 🥳

Build Id: aae22907-ce48-4e9f-9b66-cfe949441e0d

The following development images have been built, and will exist for the next 30 days:

To build this version:

git fetch git@github.com:googleforgames/quilkin.git pull/665/head:pr_665 && git checkout pr_665
cargo build

@XAMPPRocky XAMPPRocky merged commit 39ec6da into googleforgames:main Dec 15, 2022
@markmandel markmandel deleted the xds/invalid-endpoint branch December 19, 2022 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup Refactoring code, fixing up documentation, etc size/s
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants