Skip to content

Commit 31df378

Browse files
committed
v3 endpoints won't have legacy ID's (bug 1150930)
Change-Id: I8cc6bac7b0e549db7755df3a993db7d563907324
1 parent dd7d4fd commit 31df378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keystone/catalog/controllers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_endpoints(self, context):
5858
self.assert_admin(context)
5959
legacy_endpoints = {}
6060
for endpoint in self.catalog_api.list_endpoints(context):
61-
if not endpoint['legacy_endpoint_id']:
61+
if not endpoint.get('legacy_endpoint_id'):
6262
# endpoints created in v3 should not appear on the v2 API
6363
continue
6464

0 commit comments

Comments
 (0)