]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: reformat a few methods
authorSage Weil <sage@newdream.net>
Sat, 22 May 2021 17:21:04 +0000 (13:21 -0400)
committerSebastian Wagner <sewagner@redhat.com>
Thu, 9 Sep 2021 14:07:39 +0000 (16:07 +0200)
Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 27c2b83a8e4c7efd319fcd6c1b80698f76dea6c4)

src/pybind/mgr/orchestrator/module.py

index 156a7eabf8c838b7c77565bc3b7b2a4c23e48629..cd464767c0f02e3985c2996478099846ab7a18ba 100644 (file)
@@ -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)