Clean up remaining references to TROVE_URL
Replaced last remaining reference to TROVE_URL in python-troveclient. Currently the user along with OS_URL , or TROVE_URL , is used as part of a hash for a unique directory for the bash completion cache. Since I'm not sure if there is a reason why the legacy URLs are used here, I've replaced TROVE_URL with NOVA_URL instead of OS_AUTH_URL which might be more appropriate for this purpose. Change-Id: Id30aeae992aecba3c1fbe53c2ce421157410ca20 Closes-Bug: #1238282
This commit is contained in:
@@ -125,7 +125,7 @@ class Manager(utils.HookableMixin):
|
||||
# NOTE(sirp): Keep separate UUID caches for each username + endpoint
|
||||
# pair
|
||||
username = utils.env('OS_USERNAME', 'TROVE_USERNAME')
|
||||
url = utils.env('OS_URL', 'TROVE_URL')
|
||||
url = utils.env('OS_URL', 'NOVA_URL')
|
||||
uniqifier = hashlib.md5(username.encode('utf-8') +
|
||||
url.encode('utf-8')).hexdigest()
|
||||
|
||||
|
Reference in New Issue
Block a user