From: Yehuda Sadeh Date: Mon, 1 Nov 2021 16:33:29 +0000 (-0700) Subject: mgr/rgw: change zone-creds cli commands X-Git-Tag: v17.1.0~340^2~5 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=a0e8230bfeee0820fb854d75b05fef8b7e6357a7;p=ceph-ci.git mgr/rgw: change zone-creds cli commands - ceph rgw zone-creds create - ceph rgw zone-creds remove Signed-off-by: Yehuda Sadeh --- diff --git a/src/pybind/mgr/rgw/module.py b/src/pybind/mgr/rgw/module.py index 42b01a8f36e..325629c691e 100644 --- a/src/pybind/mgr/rgw/module.py +++ b/src/pybind/mgr/rgw/module.py @@ -124,7 +124,7 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule): return HandleCommandResult(retval=retval, stdout=out, stderr=err) - @CLICommand('rgw realm create zone-creds', perm='rw') + @CLICommand('rgw realm zone-creds create', perm='rw') def _cmd_rgw_realm_new_zone_creds(self, realm_name: Optional[str] = None, endpoints: Optional[str] = None, @@ -139,7 +139,7 @@ class Module(orchestrator.OrchestratorClientMixin, MgrModule): return HandleCommandResult(retval=retval, stdout=out, stderr=err) - @CLICommand('rgw realm remove zone-creds', perm='rw') + @CLICommand('rgw realm zone-creds remove', perm='rw') def _cmd_rgw_realm_rm_zone_creds(self, realm_token : Optional[str] = None): """Create credentials for new zone creation"""