summaryrefslogtreecommitdiff
path: root/openstackclient/image
diff options
context:
space:
mode:
authorTerryHowe <terrylhowe@gmail.com>2015-07-04 09:32:16 -0600
committerTerryHowe <terrylhowe@gmail.com>2015-07-15 10:11:59 -0600
commit36391a81a3415d24c55d6bbc318157dc119da8a7 (patch)
treee460c472a29c15769a430bc0f0ca70f6b4fff7d8 /openstackclient/image
parentee64c2fa6b9eb6f8d628e8899df39a4ee01c2bb3 (diff)
downloadpython-openstackclient-36391a81a3415d24c55d6bbc318157dc119da8a7.tar.gz
Rename endpoint type to interface
Change-Id: I4e21d09bc747e8210f4f79a1d6c4c7ccf2f25d1c Closes-Bug: #1454392
Diffstat (limited to 'openstackclient/image')
-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,
)
)