From 1020192170329aa015ccdcb2f4cc40b172a99616 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 12 Oct 2021 09:43:05 -0500 Subject: [PATCH] mgr/rook: fix mds service list Signed-off-by: Sage Weil --- src/pybind/mgr/rook/module.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/pybind/mgr/rook/module.py b/src/pybind/mgr/rook/module.py index 104780d93f77b..06f4ef42062a8 100644 --- a/src/pybind/mgr/rook/module.py +++ b/src/pybind/mgr/rook/module.py @@ -284,16 +284,16 @@ class RookOrchestrator(MgrModule, orchestrator.Orchestrator): total_mds = active if fs['spec'].get('metadataServer', {}).get('activeStandby', False): total_mds = active * 2 - spec[svc] = orchestrator.ServiceDescription( - spec=ServiceSpec( - service_type='mds', - service_id=fs['metadata']['name'], - placement=PlacementSpec(count=active), - ), - size=total_mds, - container_image_name=image_name, - last_refresh=now, - ) + spec[svc] = orchestrator.ServiceDescription( + spec=ServiceSpec( + service_type='mds', + service_id=fs['metadata']['name'], + placement=PlacementSpec(count=active), + ), + size=total_mds, + container_image_name=image_name, + last_refresh=now, + ) if service_type == 'rgw' or service_type is None: # CephObjectstores -- 2.47.3