From: Weijun Duan Date: Mon, 4 Jan 2016 01:12:04 +0000 (-0500) Subject: rgw: radosgw-admin bucket check --fix not work X-Git-Tag: v10.0.3~108^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a17f4e27d608ef29cf499fe76246929ec7962783;p=ceph.git rgw: radosgw-admin bucket check --fix not work Fixed:#14215 Signed-off-by: Weijun Duan --- diff --git a/src/rgw/rgw_admin.cc b/src/rgw/rgw_admin.cc index 5f34bc7a9a91..53497af994b2 100644 --- a/src/rgw/rgw_admin.cc +++ b/src/rgw/rgw_admin.cc @@ -1778,6 +1778,7 @@ int main(int argc, char **argv) bucket_op.set_object(object); bucket_op.set_check_objects(check_objects); bucket_op.set_delete_children(delete_child_objects); + bucket_op.set_fix_index(fix); // required to gather errors from operations std::string err_msg;