summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLingxian Kong <anlin.kong@gmail.com>2020-09-16 09:14:25 +1200
committerLingxian Kong <anlin.kong@gmail.com>2020-09-15 21:15:13 +0000
commit895f6629a4af85fd3003e04239215a809ee8a5f8 (patch)
treee84fe8c754e214b30f6097d55f837fc1b9b17ee4
parent1704bc44eddfbe6e00d99217ea9cd07b02987e2e (diff)
downloadpython-troveclient-895f6629a4af85fd3003e04239215a809ee8a5f8.tar.gz
Support region in CLI5.1.1
Change-Id: Ia0580a599fc2385d54def4e18e0780209b82eff7
-rw-r--r--troveclient/osc/plugin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/troveclient/osc/plugin.py b/troveclient/osc/plugin.py
index 263192b..70c252b 100644
--- a/troveclient/osc/plugin.py
+++ b/troveclient/osc/plugin.py
@@ -34,7 +34,8 @@ def make_client(instance):
LOG.debug('Instantiating database client: %s', trove_client)
client = trove_client(
auth=instance.auth,
- session=instance.session
+ session=instance.session,
+ region_name=instance._region_name
)
return client