diff --git a/glanceclient/shell.py b/glanceclient/shell.py index a0d2bdf7..ce79c3a3 100644 --- a/glanceclient/shell.py +++ b/glanceclient/shell.py @@ -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