From cbbfbc91c953f7b26b1883950ef94075f708c701 Mon Sep 17 00:00:00 2001 From: Andy McCrae Date: Wed, 10 Sep 2014 15:40:43 +0100 Subject: [PATCH] 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 --- glanceclient/shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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