diff options
-rw-r--r-- | os_client_config/config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py index 25fbf64..015a783 100644 --- a/os_client_config/config.py +++ b/os_client_config/config.py @@ -440,6 +440,10 @@ class OpenStackConfig(object): config = self._get_base_cloud_config(cloud) + # Regions is a list that we can use to create a list of cloud/region + # objects. It does not belong in the single-cloud dict + config.pop('regions', None) + # Can't just do update, because None values take over for (key, val) in iter(args.items()): if val is not None: |