Skip to content

Commit

Permalink
v3 endpoints won't have legacy ID's (bug 1150930)
Browse files Browse the repository at this point in the history
Change-Id: I8cc6bac7b0e549db7755df3a993db7d563907324
  • Loading branch information
dolph committed Mar 8, 2013
1 parent dd7d4fd commit 31df378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keystone/catalog/controllers.py
Expand Up @@ -58,7 +58,7 @@ def get_endpoints(self, context):
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

Expand Down

0 comments on commit 31df378

Please sign in to comment.