Skip to content

Conversation

@timvaillancourt
Copy link
Contributor

@timvaillancourt timvaillancourt commented Jul 23, 2020

This PR fixes a strange error when a Vitess API returns a 404 Not Found for a missing keyspace:

2020-07-22 13:34:06 ERROR Unable to get vitess hosts from https://<hostname>/api, <keyspace>/: invalid character 'p' after top-level value

Now the HTTP status line is returned as an error unless a 200 OK is returned

Base automatically changed from vitess-cell-support to master July 23, 2020 10:22
@timvaillancourt timvaillancourt temporarily deployed to staging July 23, 2020 16:37 Inactive
@timvaillancourt timvaillancourt merged commit 5de5f0d into master Jul 23, 2020
@timvaillancourt timvaillancourt deleted the vitess-handle-http404 branch July 23, 2020 16:39
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.

3 participants