Wrong href link returned when providing non-existed version in GET version API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
High
|
Zhenyu Zheng |
Bug Description
When calling GET version API with a version that not exist, we returned a list of
correct choices, but the href link is incorrect:
root@kevin-dev:~# curl -g -i -X GET http://
HTTP/1.1 300 Multiple Choices
Date: Fri, 21 Jul 2017 09:08:20 GMT
Server: Apache/2.4.18 (Ubuntu)
Content-Length: 473
Content-Type: application/json
Connection: close
{"choices": [{"status": "SUPPORTED", "media-types": [{"base": "application/json", "type": "application/
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: api |
Fix proposed to branch: master /review. openstack. org/486850
Review: https:/