Fix to ensure endpoint_type is used by _get_endpoint()

* ks_session get_endpoint uses "interface" instead of "endpoint_type"

Change-Id: I59e45423703774f6dc26c96644f83083832b0627
Closes-Bug: #1367782
This commit is contained in:
Andy McCrae
2014-09-10 15:40:43 +01:00
parent fde99a0a4d
commit cbbfbc91c9

View File

@@ -495,7 +495,7 @@ class OpenStackImagesShell(object):
service_type = args.os_service_type or 'image'
endpoint = args.os_image_url or ks_session.get_endpoint(
service_type=service_type,
endpoint_type=endpoint_type,
interface=endpoint_type,
region_name=args.os_region_name)
return endpoint, token