From: Sage Weil Date: Wed, 11 Dec 2019 18:26:10 +0000 (-0600) Subject: mgr/orchestrator_cli: set type for 'orchestrator' option X-Git-Tag: v15.1.0~545^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F32189%2Fhead;p=ceph.git 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 --- diff --git a/src/pybind/mgr/orchestrator_cli/module.py b/src/pybind/mgr/orchestrator_cli/module.py index 6703a335e9cd..7da5e02123da 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',