Skip to content

Commit

Permalink
Consider interface and region options with OSC
Browse files Browse the repository at this point in the history
The --os-interface/OS_INTERFACE and --os-region-name/OS_REGION_NAME
options were considered by aodh CLI but ignored when using the OSC
integration.

Change-Id: Iad6f28d942626aa4117020d0d15df1c084a58560
  • Loading branch information
piepmatz committed Jul 6, 2018
1 parent a06c7bb commit a5462e6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aodhclient/osc.py
Expand Up @@ -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):
Expand Down

0 comments on commit a5462e6

Please sign in to comment.