From 5f2921e8ea4e69e385db634f5421417748ff0331 Mon Sep 17 00:00:00 2001 From: Matthieu Dorier Date: Thu, 22 Feb 2024 09:33:05 +0000 Subject: [PATCH] fixed module command in CLI --- python/mochi/bedrock/bedrockctl/module.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/mochi/bedrock/bedrockctl/module.py b/python/mochi/bedrock/bedrockctl/module.py index 104afea..711ba55 100644 --- a/python/mochi/bedrock/bedrockctl/module.py +++ b/python/mochi/bedrock/bedrockctl/module.py @@ -51,6 +51,8 @@ def list(target: Annotated[ """ Lists the modules loaded in each of the target Bedrock process(es). """ + from ._util import parse_target_ranks, rank_is_in + ranks = parse_target_ranks(ranks) from ._util import ServiceContext from rich import print with ServiceContext(target) as service: