summaryrefslogtreecommitdiffstats
path: root/keystone/catalog
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-03-08 08:36:30 -0600
committerDolph Mathews <dolph.mathews@gmail.com>2013-03-08 08:36:30 -0600
commit31df378f2d95374d6662be11fc6487d01e373f6a (patch)
tree7bd8b98a8ecdb8360cb2df5abc1e62b9777501ab /keystone/catalog
parentdd7d4fd551f727873462d3ef2ece863ab6400995 (diff)
downloadkeystone-31df378f2d95374d6662be11fc6487d01e373f6a.tar.gz
keystone-31df378f2d95374d6662be11fc6487d01e373f6a.tar.xz
keystone-31df378f2d95374d6662be11fc6487d01e373f6a.zip
v3 endpoints won't have legacy ID's (bug 1150930)
Change-Id: I8cc6bac7b0e549db7755df3a993db7d563907324
Diffstat (limited to 'keystone/catalog')
-rw-r--r--keystone/catalog/controllers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/catalog/controllers.py b/keystone/catalog/controllers.py
index 24482fe7..00e382aa 100644
--- a/keystone/catalog/controllers.py
+++ b/keystone/catalog/controllers.py
@@ -58,7 +58,7 @@ class Endpoint(controller.V2Controller):
self.assert_admin(context)
legacy_endpoints = {}
for endpoint in self.catalog_api.list_endpoints(context):
- if not endpoint['legacy_endpoint_id']:
+ if not endpoint.get('legacy_endpoint_id'):
# endpoints created in v3 should not appear on the v2 API
continue