]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw admin: add tenant argument to reshard cancel
authorAbhishek Lekshmanan <abhishek@suse.com>
Mon, 11 Mar 2019 14:09:03 +0000 (15:09 +0100)
committerAbhishek Lekshmanan <abhishek@suse.com>
Mon, 11 Mar 2019 14:09:03 +0000 (15:09 +0100)
Looks like we ignore the tenant argument for reshard cancel as mentioned in the
issue.

Fixes: https://tracker.ceph.com/issues/38214
Reported-by: Ed Fisher <ed@debacle.org>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
src/rgw/rgw_admin.cc

index 4b457741c313db283e9c5085adde71cbbc274f39..e4e3418ed047f047e6d1bd5cd3ef539cfee88580 100644 (file)
@@ -6349,7 +6349,7 @@ next:
     RGWReshard reshard(store);
 
     cls_rgw_reshard_entry entry;
-    //entry.tenant = tenant;
+    entry.tenant = tenant;
     entry.bucket_name = bucket_name;
     //entry.bucket_id = bucket_id;