]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Added single check to avoid duplication. Included few more commands. 30946/head
authorShilpa Jagannath <smanjara@redhat.com>
Fri, 5 Jul 2019 10:47:31 +0000 (16:17 +0530)
committerNathan Cutler <ncutler@suse.com>
Wed, 13 Nov 2019 14:15:50 +0000 (15:15 +0100)
commitcd33a6ab6766b672cae053eb2843cc2594709d0a
tree52858073ad18459b4b75028cb6f9e035f62b7f1e
parent639e6fdbf3da57dde7e348536622f1daa37806eb
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);

- drop OPT_MFA_CREATE, OPT_MFA_REMOVE, and OPT_MFA_RESYNC which were added
  post-luminous (by 3ab463f9f538a08fd11db2b654004449994dd0fe)
src/rgw/rgw_admin.cc