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:22 +0000
commit1feaf3673c6499805215dc4f5212af6f2f1284fa (patch)
treee14c778041defa8b649aac1a17283177c7909255
parent8dd8a69ff331b4e2b159367a168099f83fcdd2ce (diff)
downloadpython-troveclient-stable/ussuri.tar.gz
Support region in CLIussuri-em3.3.2stable/ussuri
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