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:
@@ -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
|
||||
|
Reference in New Issue
Block a user