From 385c5ad928f661cdf25c639cc6da9638a8f349ab Mon Sep 17 00:00:00 2001 From: Xiaohua Zhang Date: Thu, 14 Feb 2019 09:10:52 +0000 Subject: Fix bug of v3 to v2 endpoints mapping Change-Id: I2d1b6bb57e7a3ed1c7d7de3246777ac1c62ff5b5 Issue-ID: MULTICLOUD-478 Signed-off-by: Xiaohua Zhang --- share/newton_base/proxy/identityV3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/newton_base/proxy/identityV3.py') diff --git a/share/newton_base/proxy/identityV3.py b/share/newton_base/proxy/identityV3.py index 7932b8e3..302c5b07 100644 --- a/share/newton_base/proxy/identityV3.py +++ b/share/newton_base/proxy/identityV3.py @@ -205,8 +205,8 @@ class TokensV2(Tokens): elif v3_endpoint['interface'] == 'internal': v2_catalog1_endpoints['internalURL'] = v3_endpoint['url'] - if v2_catalog1_endpoints: - v2_catalog1['endpoints'].append(v2_catalog1_endpoints) + if v2_catalog1_endpoints: + v2_catalog1['endpoints'].append(v2_catalog1_endpoints) v2_catalog.append(v2_catalog1) -- cgit 1.2.3-korg