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

Don't return UnsupportedVersionError for unexpected errors from version check #67

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

babbageclunk
Copy link
Contributor

MAAS 2.x and 1.9 will always return 410 (for known but not supported
versions) or 404 (for unknown versions). Only return
UnsupportedVersionError for those codes, let other errors bubble up
unchanged so that we don't confuse network errors for unsupported
versions.

Fixes https://bugs.launchpad.net/juju/+bug/1667095

MAAS 2.x and 1.9 will always return 410 (for known but not supported
versions) or 404 (for unknown versions). Only return
UnsupportedVersionError for those codes, let other errors bubble up
unchanged so that we don't confuse network errors for unsupported
versions.

Fixes https://bugs.launchpad.net/juju/+bug/1667095
@babbageclunk
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Contributor

jujubot commented Apr 5, 2017

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-gomaasapi

@jujubot jujubot merged commit eada3f3 into juju:master Apr 5, 2017
@babbageclunk babbageclunk deleted the tighter-fallback branch April 5, 2017 02:57
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