From 4be6e343a6fa71c0541fcc1f568c4f900bcc5ca0 Mon Sep 17 00:00:00 2001 From: Paul Cuzner Date: Wed, 13 Jan 2021 14:53:40 +1300 Subject: [PATCH] mgr/orchestrator: rebase patch Signed-off-by: Paul Cuzner --- src/pybind/mgr/orchestrator/module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/orchestrator/module.py b/src/pybind/mgr/orchestrator/module.py index d5d401caab825..c0ed80efd826c 100644 --- a/src/pybind/mgr/orchestrator/module.py +++ b/src/pybind/mgr/orchestrator/module.py @@ -322,7 +322,7 @@ class OrchestratorCli(OrchestratorClientMixin, MgrModule, return cast(str, self.get_module_option("orchestrator")) @_cli_write_command('orch host add') - def _add_host(self, hostname: str, addr: Optional[str] = None, labels: Optional[List[str]] = None, maintenance: bool = False) -> HandleCommandResult: + def _add_host(self, hostname: str, addr: Optional[str] = None, labels: Optional[List[str]] = None, maintenance: Optional[bool] = False) -> HandleCommandResult: """Add a host""" _status = 'maintenance' if maintenance else '' s = HostSpec(hostname=hostname, addr=addr, labels=labels, status=_status) -- 2.39.5