summaryrefslogtreecommitdiff
path: root/ironic/common
diff options
context:
space:
mode:
authorzackchen <zackchen517@gmail.com>2017-05-03 15:21:46 +0800
committerPierre Riteau <priteau@uchicago.edu>2017-11-13 13:17:34 +0000
commitc6072b311271f4dd1ac3f316de3458d918aeee52 (patch)
tree537eefc1558a8d6071d138202ac1babb66d1ae17 /ironic/common
parent4c951f6ab477697da2bf8b55f32b1c0965e73576 (diff)
downloadironic-c6072b311271f4dd1ac3f316de3458d918aeee52.tar.gz
Fix keystone.py 'get_service_url' method parameter
Calls to 'get_service_url' should use the 'region_name' parameter. Before they were incorrectly using 'region' as the parameter name. Change-Id: Ic839ba6dbd5ca4dc9c7d87cf23582b8cfc393731 Closes-Bug: #1687866 (cherry picked from commit 21d89c0f641e9a03c47a7ffe42af2150af31016c)
Diffstat (limited to 'ironic/common')
-rw-r--r--ironic/common/keystone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ironic/common/keystone.py b/ironic/common/keystone.py
index 5a4359e98..a01cb4def 100644
--- a/ironic/common/keystone.py
+++ b/ironic/common/keystone.py
@@ -128,7 +128,7 @@ def get_service_url(session, service_type='baremetal',
"""
return session.get_endpoint(service_type=service_type,
interface=endpoint_type,
- region=CONF.keystone.region_name)
+ region_name=CONF.keystone.region_name)
@ks_exceptions