Skip to content

Commit

Permalink
Fix hard-coded value for ceph-mds daemons expected
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 84ac68c commit 463e5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rookify/modules/migrate_mgrs/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def _migrate_mgr(self, mgr_host: str) -> None:

while True:
result = self.ceph.mon_command("node ls")
if len(result["mgr"]) >= 3:
if len(result["mgr"]) >= mgr_count_expected:
break

sleep(2)
Expand Down

0 comments on commit 463e5fb

Please sign in to comment.