From: Joshua Blanch Date: Tue, 29 Apr 2025 20:15:51 +0000 (+0000) Subject: orch/module: alias unpause command with orch resume X-Git-Tag: v20.1.0~140^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c97904e8d438ee5c7bf0cbcbfc0f80a297493cc5;p=ceph.git orch/module: alias unpause command with orch resume Signed-off-by: Joshua Blanch (cherry picked from commit 78d0bab8d6f04490f4079a9ac196756721248653) --- diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 779eac9d56d8..24ba012ec146 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -2300,6 +2300,12 @@ Usage: self.resume() return HandleCommandResult() + @_cli_write_command('orch unpause') + def _unpause(self) -> HandleCommandResult: + """Alias to orch resume""" + self.resume() + return HandleCommandResult() + @_cli_write_command('orch cancel') def _cancel(self) -> HandleCommandResult: """