summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--os_client_config/config.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py
index 6d96655..56992df 100644
--- a/os_client_config/config.py
+++ b/os_client_config/config.py
@@ -100,7 +100,11 @@ class OpenStackConfig(object):
# yes, I know the next line looks silly
if 'cloud' in our_cloud:
- cloud.update(vendors.CLOUD_DEFAULTS[our_cloud['cloud']])
+ try:
+ cloud.update(vendors.CLOUD_DEFAULTS[our_cloud['cloud']])
+ except KeyError:
+ # Can't find the requested vendor config, go about business
+ pass
cloud.update(our_cloud)
if 'cloud' in cloud: