summaryrefslogtreecommitdiffstats
path: root/gluster/swift/common
diff options
context:
space:
mode:
authorThiago da Silva <thiago@redhat.com>2013-11-15 17:13:53 -0500
committerLuis Pabon <lpabon@redhat.com>2013-11-20 11:38:10 -0800
commit3f504879c4a41fa688e5f3d336c8f5f9f9d3f49a (patch)
tree31a2926037bbd011aeec311dc50c246da7682d10 /gluster/swift/common
parentadb7301b23dcb6759c417ad5f89ad76a7f511493 (diff)
fix error with swauth-clean-tokens
Error is caused by left-over code from swauth. It had hard-coded the auth account to .auth. Changed code to use volume specified in the config file Change-Id: Id00eb3964b6b26a84511e4753ab80b2dea5654da Signed-off-by: Thiago da Silva <thiago@redhat.com> Reviewed-on: http://review.gluster.org/6280 Reviewed-by: Luis Pabon <lpabon@redhat.com> Tested-by: Luis Pabon <lpabon@redhat.com> Reviewed-on: http://review.gluster.org/6312
Diffstat (limited to 'gluster/swift/common')
-rw-r--r--gluster/swift/common/middleware/gswauth/swauth/middleware.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gluster/swift/common/middleware/gswauth/swauth/middleware.py b/gluster/swift/common/middleware/gswauth/swauth/middleware.py
index 0a1c808..996228d 100644
--- a/gluster/swift/common/middleware/gswauth/swauth/middleware.py
+++ b/gluster/swift/common/middleware/gswauth/swauth/middleware.py
@@ -1158,7 +1158,7 @@ class Swauth(object):
if user == '.super_admin' and self.super_admin_key and \
key == self.super_admin_key:
token = self.get_itoken(req.environ)
- url = '%s/%s.auth' % (self.dsc_url, self.reseller_prefix)
+ url = '%s/%s' % (self.dsc_url, self.auth_account)
return Response(
request=req,
body=json.dumps(