Commit a68bc419 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix pithos get_account_meta.

Do now show usage if request user is other than the owner
parent 6ae2798c
......@@ -264,8 +264,8 @@ class ModularBackend(BaseBackend):
if until is not None:
meta.update({'until_timestamp': tstamp})
meta.update({'name': account, 'count': count, 'bytes': bytes})
if self.using_external_quotaholder:
meta['bytes'] = external_quota.get('currValue', 0)
if self.using_external_quotaholder:
meta['bytes'] = external_quota.get('currValue', 0)
meta.update({'modified': modified})
return meta
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment