Commit b51395f3 authored by Pierre Riteau's avatar Pierre Riteau

Respect selected region in multi-region clouds

The region name value provided via an environment variable or a command
line argument was not passed to the client object, meaning that the
wrong endpoint could be selected in a multi-region cloud.

Change-Id: Ia8bbec7e429d5a2385b7f38310512a93fbfb9ce1
parent 122ca084
......@@ -458,7 +458,8 @@ class BlazarShell(app.App):
self.options.os_reservation_api_version,
session=sess,
service_type=self.options.service_type,
interface=self.options.endpoint_type
interface=self.options.endpoint_type,
region_name=self.options.os_region_name,
)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment