From 88a516dc62e1f5d2280351dcb9abdb18fa5ec953 Mon Sep 17 00:00:00 2001 From: Alex Tomic Date: Thu, 5 Mar 2015 11:30:19 +0100 Subject: [PATCH] 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 --- troveclient/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/troveclient/base.py b/troveclient/base.py index 65a2c6ae..9b594056 100644 --- a/troveclient/base.py +++ b/troveclient/base.py @@ -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()