Whenever the versions resource is used, it'll reply with a 300 status
code. This is the desired behavior when requesting versions that we
don't support and/or non-existent.
However, when the user requests specifically for the `/versions`
endpoint, Glance shouldn't reply with a 300 since there's just 1 choice
for such endpoint.
Reviewed: https:/ /review. openstack. org/219649 /git.openstack. org/cgit/ openstack/ glance/ commit/ ?id=3fc253c1970 95f5f09846855a7 55b677ec37deb5
Committed: https:/
Submitter: Jenkins
Branch: master
commit 3fc253c197095f5 f09846855a755b6 77ec37deb5
Author: Flavio Percoco <email address hidden>
Date: Wed Sep 2 13:16:24 2015 +0200
Don't return 300 when requesting /versions
Whenever the versions resource is used, it'll reply with a 300 status
code. This is the desired behavior when requesting versions that we
don't support and/or non-existent.
However, when the user requests specifically for the `/versions`
endpoint, Glance shouldn't reply with a 300 since there's just 1 choice
for such endpoint.
APIImpact
Closes-bug: #1491350
Change-Id: I23e3780e5d1b60 9753ffef5941811 5f45ab45fe7