]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: better error message when user has no bucket created yet 10162/head
authorGaurav Kumar Garg <garg.gaurav52@gmail.com>
Wed, 6 Jul 2016 16:56:27 +0000 (18:56 +0200)
committerGaurav Kumar Garg <garg.gaurav52@gmail.com>
Fri, 22 Jul 2016 10:14:23 +0000 (12:14 +0200)
commitb9a2048c6646463e1b7b299dae36fbb4f887fc00
tree78640a85114c97eaac43e93ac0686311a9188590
parentb342bf8ea127dae39cfdaa6558a77640905890f5
rgw: better error message when user has no bucket created yet

Currently when there is no bucket in the cluster and user execute
 "$radosgw-admin user  stats --uid=testid" command then rgw admin
not throwing meaningful error message.

With this fix it will show proper meaningful error message.

Fixes: http://tracker.ceph.com/issues/16444
Reported-by: Abhishek Lekshmanan <abhishek@suse.com>
Signed-off-by: Gaurav Kumar Garg <garg.gaurav52@gmail.com>
src/rgw/rgw_admin.cc