]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/orchestrator: add end_positional to a few methods
authorSage Weil <sage@newdream.net>
Sat, 22 May 2021 17:26:42 +0000 (13:26 -0400)
committerSage Weil <sage@newdream.net>
Tue, 1 Jun 2021 18:45:11 +0000 (14:45 -0400)
Signed-off-by: Sage Weil <sage@newdream.net>
src/pybind/mgr/orchestrator/module.py

index 866d34494d85956655dad40fdee2f2e56e3f8a40..faa4671707e27d85c3060272b0b238de8c7baec5 100644 (file)
@@ -611,6 +611,7 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule,
     @_cli_read_command('orch ps')
     def _list_daemons(self,
                       hostname: Optional[str] = None,
+                      _end_positional_: int = 0,
                       service_name: Optional[str] = None,
                       daemon_type: Optional[str] = None,
                       daemon_id: Optional[str] = None,
@@ -1342,6 +1343,7 @@ Usage:
     @_cli_write_command('orch upgrade start')
     def _upgrade_start(self,
                        image: Optional[str] = None,
+                       _end_positional_: int = 0,
                        ceph_version: Optional[str] = None) -> HandleCommandResult:
         """Initiate upgrade"""
         self._upgrade_check_image_name(image, ceph_version)