Pass region to the alternate image client
This is follow up from the patch to add distributed import testing for glance. Change-Id: I1e55fea0f7025689aa18f8e602379e9273eaab8c
This commit is contained in:
parent
d4bc9a8b64
commit
0ac97de166
|
@ -94,7 +94,8 @@ class Manager(clients.ServiceClients):
|
|||
# config option to see if the alternate_image_endpoint is set.
|
||||
self.image_client_remote = self.image_v2.ImagesClient(
|
||||
service=CONF.image.alternate_image_endpoint,
|
||||
endpoint_type=CONF.image.alternate_image_endpoint_type)
|
||||
endpoint_type=CONF.image.alternate_image_endpoint_type,
|
||||
region=CONF.image.region)
|
||||
|
||||
def _set_compute_clients(self):
|
||||
self.agents_client = self.compute.AgentsClient()
|
||||
|
|
Loading…
Reference in New Issue