diff options
Diffstat (limited to 'share/starlingx_base/registration/registration.py')
-rw-r--r-- | share/starlingx_base/registration/registration.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/starlingx_base/registration/registration.py b/share/starlingx_base/registration/registration.py index 58d1c12d..7b9ba59d 100644 --- a/share/starlingx_base/registration/registration.py +++ b/share/starlingx_base/registration/registration.py @@ -442,14 +442,14 @@ class RegistryHelper(newton_registration.RegistryHelper): "/regions", "identity", session, viminfo, vimid, "regions") - for region in openstackregions: + for region in openstackregions or []: if region['id'] == 'SystemController': isDistributedCloud = True break else: continue - for region in openstackregions: + for region in openstackregions or []: if region['id'] == 'SystemController': continue elif region['id'] == 'RegionOne' and isDistributedCloud: |