From e6c55547596a655406a99d538f1109f531298fb7 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 11 Dec 2019 12:26:10 -0600 Subject: [PATCH] mgr/orchestrator_cli: set type for 'orchestrator' option If we don't specify the type, the mgr_module.py will str() the default value, turning it into "None", breaking the self-test. Signed-off-by: Sage Weil --- src/pybind/mgr/orchestrator_cli/module.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pybind/mgr/orchestrator_cli/module.py b/src/pybind/mgr/orchestrator_cli/module.py index 6703a335e9cd4..7da5e02123dae 100644 --- a/src/pybind/mgr/orchestrator_cli/module.py +++ b/src/pybind/mgr/orchestrator_cli/module.py @@ -24,6 +24,7 @@ class OrchestratorCli(orchestrator.OrchestratorClientMixin, MgrModule): MODULE_OPTIONS = [ { 'name': 'orchestrator', + 'type': 'str', 'default': None, 'desc': 'Orchestrator backend', 'enum_allowed': ['ssh', 'rook', 'ansible', 'deepsea', -- 2.39.5