]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Added single check to avoid duplication. Included few more commands. 30133/head
authorShilpa Jagannath <smanjara@redhat.com>
Fri, 5 Jul 2019 10:47:31 +0000 (16:17 +0530)
committerNathan Cutler <ncutler@suse.com>
Sun, 8 Sep 2019 09:57:57 +0000 (11:57 +0200)
commitaddec6f73c8f208eedc72276afd5ad0607f95fc3
tree674c7ecd3b9f4a58c3cf9a1587028baf379b139d
parentbf57acf819fa5800634524fdc5f61312f10a5a33
Added single check to avoid duplication. Included few more commands.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 14c3b4b3ebb6ef2fc44d24f8020beb2977c8e46e)

Conflicts:
        src/rgw/rgw_admin.cc
- cherry-pick was clean, but there was a build failure "error: 'class RGWRados'
has no member named 'svc'", which was fixed by making the following change:

-  bool non_master_cmd = (!store->svc.zone->is_meta_master() && !yes_i_really_mean_it);
+  bool non_master_cmd = (!store->is_meta_master() && !yes_i_really_mean_it);
src/rgw/rgw_admin.cc