diff options
author | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2019-02-14 09:10:52 +0000 |
---|---|---|
committer | Xiaohua Zhang <xiaohua.zhang@windriver.com> | 2019-02-14 09:10:52 +0000 |
commit | 385c5ad928f661cdf25c639cc6da9638a8f349ab (patch) | |
tree | d193788cce8b6cf0f0b0f1a237f1f8b367d2991a /share/newton_base | |
parent | b5ae5e2132af211e40768f33bd668835da5ca8c0 (diff) |
Fix bug of v3 to v2 endpoints mapping
Change-Id: I2d1b6bb57e7a3ed1c7d7de3246777ac1c62ff5b5
Issue-ID: MULTICLOUD-478
Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'share/newton_base')
-rw-r--r-- | share/newton_base/proxy/identityV3.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |