diff options
author | Jason Dunsmore <jasondunsmore@gmail.com> | 2017-01-05 10:54:47 -0600 |
---|---|---|
committer | Jason Dunsmore <jasondunsmore@gmail.com> | 2017-01-06 14:29:43 -0600 |
commit | 2cd3db111151ac327d3434f1c2f1a055b6714e23 (patch) | |
tree | 6738b4d6c3c79edde6056ced4de762879798f748 /heatclient/shell.py | |
parent | de271ae7574289ce162208b655e219e59f33ce60 (diff) | |
download | python-heatclient-2cd3db111151ac327d3434f1c2f1a055b6714e23.tar.gz |
Make sure the --heat-url option is respected, part 2
If the endpoint is passed in, make sure keystone uses it instead of
looking up the endpoint in the auth plugin.
Original fix: 9e28993ee6fb814f014bc73a5611681ca3bb2c65
Closes-Bug: #1654344
Change-Id: I4b42ab9d87c790eef1953f995260b6b232a63445
Diffstat (limited to 'heatclient/shell.py')
-rw-r--r-- | heatclient/shell.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/heatclient/shell.py b/heatclient/shell.py index 558fb8a..5774aac 100644 --- a/heatclient/shell.py +++ b/heatclient/shell.py @@ -544,7 +544,8 @@ class HeatShell(object): 'region_name': args.os_region_name, 'username': args.os_username, 'password': args.os_password, - 'include_pass': args.include_password + 'include_pass': args.include_password, + 'endpoint_override': args.heat_url, } client = heat_client.Client(api_version, **kwargs) |