summaryrefslogtreecommitdiff
path: root/openstackclient/image/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'openstackclient/image/client.py')
-rw-r--r--openstackclient/image/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/openstackclient/image/client.py b/openstackclient/image/client.py
index 8e2d6cd9..8fbf8c0f 100644
--- a/openstackclient/image/client.py
+++ b/openstackclient/image/client.py
@@ -46,7 +46,7 @@ def make_client(instance):
endpoint = instance.get_endpoint_for_service_type(
API_NAME,
region_name=instance._region_name,
- endpoint_type=instance._endpoint_type,
+ interface=instance._interface,
)
client = image_client(
@@ -69,7 +69,7 @@ def make_client(instance):
endpoint=instance.get_endpoint_for_service_type(
IMAGE_API_TYPE,
region_name=instance._region_name,
- endpoint_type=instance._endpoint_type,
+ interface=instance._interface,
)
)