]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: radosgw-admin bucket check --fix not work 7423/head
authorWeijun Duan <duanweijun@h3c.com>
Mon, 4 Jan 2016 01:12:04 +0000 (20:12 -0500)
committerAbhishek Varshney <abhishek.varshney@flipkart.com>
Fri, 29 Jan 2016 09:53:34 +0000 (15:23 +0530)
Fixed:#14215

Signed-off-by: Weijun Duan <duanweijun@h3c.com>
(cherry picked from commit a17f4e27d608ef29cf499fe76246929ec7962783)

src/rgw/rgw_admin.cc

index af82ecbbf770e4e50d06303975d56aceb0d1fb0d..6342895dc228173691f972a267196219ae0fd41f 100644 (file)
@@ -1736,6 +1736,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;