Fixing the version
This commit is contained in:
parent
45a178aafd
commit
13ad57a09d
@ -149,7 +149,7 @@ class TestInstanceController(ControllerTestBase):
|
||||
"name": "nextround"
|
||||
}
|
||||
],
|
||||
"flavorRef": "http://localhost/v0.1/tenant/flavors/1",
|
||||
"flavorRef": "http://localhost/v1.0/tenant/flavors/1",
|
||||
"name": "json_rack_instance",
|
||||
}
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ class VersionsController(wsgi.Controller):
|
||||
|
||||
def index(self, request):
|
||||
"""Respond to a request for all OpenStack API versions."""
|
||||
versions = [Version("v0.1", "CURRENT", request.application_url)]
|
||||
versions = [Version("v1.0", "CURRENT", request.application_url)]
|
||||
return wsgi.Result(VersionsDataView(versions))
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user