From 0f89025372501d405b05264b6c468fb416101fef Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Sat, 22 May 2021 13:21:04 -0400 Subject: [PATCH] mgr/orchestrator: reformat a few methods Signed-off-by: Sage Weil (cherry picked from commit 27c2b83a8e4c7efd319fcd6c1b80698f76dea6c4) --- src/pybind/mgr/orchestrator/module.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index 156a7eabf8c83..cd464767c0f02 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -981,7 +981,9 @@ Usage: return HandleCommandResult(stdout=completion.result_str()) @_cli_write_command('orch daemon redeploy') - def _daemon_action_redeploy(self, name: str, image: Optional[str] = None) -> HandleCommandResult: + def _daemon_action_redeploy(self, + name: str, + image: Optional[str] = None) -> HandleCommandResult: """Redeploy a daemon (with a specifc image)""" if '.' not in name: raise OrchestratorError('%s is not a valid daemon name' % name) -- 2.39.5