diff options
author | Monty Taylor <mordred@inaugust.com> | 2014-10-26 15:04:43 -0700 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2014-10-26 15:04:43 -0700 |
commit | 8f1bb101ea688456de7dcd269dc885558aaea383 (patch) | |
tree | ced7b8f6b57ddeb34a88a9ad9cf081b918e02d1e | |
parent | 470f6ea9358ac6cd6a05a96805d06c3cf8501d97 (diff) | |
download | os-client-config-8f1bb101ea688456de7dcd269dc885558aaea383.tar.gz |
Fix a missed argument from a previous refactor
Region name support got changed a little while ago, and a call that
should now be a keyword argument style stayed as a positional ... which
means that we lost region name support for clouds with more than one
region. (it treated all of them like the first region)
Change-Id: I666758a775b8fc8e03b7e9ddd3aa494c13505612
-rw-r--r-- | os_client_config/config.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os_client_config/config.py b/os_client_config/config.py index 753c80a..925c23f 100644 --- a/os_client_config/config.py +++ b/os_client_config/config.py @@ -158,7 +158,7 @@ class OpenStackConfig(object): for cloud in self._get_cloud_sections(): for region in self._get_regions(cloud).split(','): - clouds.append(self.get_one_cloud(cloud, region)) + clouds.append(self.get_one_cloud(cloud, region_name=region)) return clouds def _fix_args(self, args, argparse=None): |