]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Remove v1.0 and v1.1 API from version info.
authorAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 20 Aug 2012 07:56:19 +0000 (16:56 +0900)
committerAkihiro MOTOKI <motoki@da.jp.nec.com>
Mon, 20 Aug 2012 07:56:19 +0000 (16:56 +0900)
Fixes bug 1038905.

Change-Id: Ifbb991eef528808ecb3543c3db862f4ca3c29f32

quantum/api/versions.py

index e3fe4785ba8b090f8d7cc277d0cce61ae88b7327..0e4c09362637d5f4cd1f789144a8490b1b3ead91 100644 (file)
@@ -35,17 +35,9 @@ class Versions(object):
     def __call__(self, req):
         """Respond to a request for all Quantum API versions."""
         version_objs = [
-            {
-                "id": "v1.0",
-                "status": "DEPRECATED",
-            },
-            {
-                "id": "v1.1",
-                "status": "CURRENT",
-            },
             {
                 "id": "v2.0",
-                "status": "PROPOSED",
+                "status": "CURRENT",
             },
         ]