diff options
| author | Monty Taylor <mordred@inaugust.com> | 2014-10-11 14:25:50 -0700 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2014-10-11 14:30:04 -0700 |
| commit | 3af547a1a6e597ea1b38fb273195ac1ef00d29dd (patch) | |
| tree | 85627b1d2065bc2e47ce5f1646ed9e07adc6d21f /openstackclient/volume | |
| parent | f0c57e17c9a4b5bbe2f072a4eacefce3bcf30d45 (diff) | |
| download | python-openstackclient-3af547a1a6e597ea1b38fb273195ac1ef00d29dd.tar.gz | |
Fix operation on clouds with availability-zones
In a cloud with AZs, you can get multiple entries back from the service
catalog - one for each AZ and then one that is AZ agnostic that's tied
to the region. If the region_name is plumbed all the way through, this
works as intended.
Change-Id: I3b365ea306e8111fc80830672ae8080a5d1dc8e0
Diffstat (limited to 'openstackclient/volume')
| -rw-r--r-- | openstackclient/volume/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/volume/client.py b/openstackclient/volume/client.py index f71fbe8b..58cb267e 100644 --- a/openstackclient/volume/client.py +++ b/openstackclient/volume/client.py @@ -68,7 +68,7 @@ def make_client(instance): else: # password flow client.client.management_url = instance.get_endpoint_for_service_type( - API_NAME) + API_NAME, region_name=instance._region_name) client.client.service_catalog = instance._service_catalog client.client.auth_token = instance._token |
