Merge pull request #87 from hub-cap/fix_version

Fixing the version
This commit is contained in:
Michael Basnight 2012-06-01 12:47:23 -07:00
commit 33524cc796
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))