
this commit is a backport of upstream commit
a5462e6623
This modification updates the code to properly propagate
the user selection for interface type and region name
Depends-On: https://review.openstack.org/#/c/611669/
Closes-bug: #1797414
Change-Id: I8620074f76766a1e2a6446d78c99d195de943024
Signed-off-by: Paul-Emile Element <Paul-Emile.Element@windriver.com>
16 lines
529 B
Diff
16 lines
529 B
Diff
diff --git a/aodhclient/osc.py b/aodhclient/osc.py
|
|
index 1e8599f..a1ecfee 100644
|
|
--- a/aodhclient/osc.py
|
|
+++ b/aodhclient/osc.py
|
|
@@ -39,7 +39,9 @@ def make_client(instance):
|
|
API_VERSIONS)
|
|
# NOTE(sileht): ensure setup of the session is done
|
|
instance.setup_auth()
|
|
- return aodh_client(session=instance.session)
|
|
+ return aodh_client(session=instance.session,
|
|
+ interface=instance.interface,
|
|
+ region_name=instance.region_name)
|
|
|
|
|
|
def build_option_parser(parser):
|