Fix wrong warning about keystone version
The variable should be an array but we used string, so it lead to incorrect warning in the httpd log. Change-Id: I7a233338306e51ba11f2d80acfc758700f6bddd2 Closes-Bug: 1621137
This commit is contained in:
@@ -294,7 +294,7 @@ def fix_auth_url_version(auth_url):
|
||||
"""
|
||||
auth_url = _augment_url_with_version(auth_url)
|
||||
|
||||
if get_keystone_version() >= 3 and has_in_url_path(auth_url, "/v2.0"):
|
||||
if get_keystone_version() >= 3 and has_in_url_path(auth_url, ["/v2.0"]):
|
||||
LOG.warning("The Keystone URL (either in Horizon settings or in "
|
||||
"service catalog) points to a v2.0 Keystone endpoint, "
|
||||
"but v3 is specified as the API version to use by "
|
||||
|
||||
Reference in New Issue
Block a user