Skip to content

Commit

Permalink
Fix check for multiple ceph-mgr per node
Browse files Browse the repository at this point in the history
Signed-off-by: Tobias Wolf <[email protected]>
  • Loading branch information
NotTheEvilOne committed Sep 3, 2024
1 parent 87c8076 commit 84ac68c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rookify/modules/create_rook_cluster/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def preflight(self) -> None:
mgr_count = 0

for node, mgrs in node_ls_data["mgr"].items():
if len(mons) > 1:
if len(mgrs) > 1:
raise ModuleException(
f"There are more than 1 mgr running on node {node}"
)
Expand Down

0 comments on commit 84ac68c

Please sign in to comment.