Fixing the version

This commit is contained in:
Michael Basnight 2012-05-30 12:55:09 -05:00
parent 45a178aafd
commit 13ad57a09d
2 changed files with 2 additions and 2 deletions

View File

@ -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",
}
}

View File

@ -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))