Skip to content

Commit

Permalink
Merge pull request #6512 from SUSE/wip-13734-hammer
Browse files Browse the repository at this point in the history
rgw: swift API returns more than real object count and bytes used when retrieving account metadata

Reviewed-by: Yehuda Sadeh <ysadehwe@redhat.com>
  • Loading branch information
Loic Dachary committed Jan 11, 2016
2 parents 9739d4d + b62cac6 commit 9708e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rgw/rgw_op.cc
Expand Up @@ -1059,7 +1059,7 @@ void RGWStatAccount::execute()
do {
RGWUserBuckets buckets;

ret = rgw_read_user_buckets(store, s->user.user_id, buckets, marker, max_buckets, true);
ret = rgw_read_user_buckets(store, s->user.user_id, buckets, marker, max_buckets, false);
if (ret < 0) {
/* hmm.. something wrong here.. the user was authenticated, so it
should exist */
Expand Down

0 comments on commit 9708e59

Please sign in to comment.