[#97] Use shards config path

Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
support/v0.37
Andrey Berezin 2023-10-02 09:59:01 +03:00 committed by Andrey Berezin
parent 07debbb1ca
commit f70dfd310e
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ def shards_from_env(contents: str) -> list[Shard]:
class TestControlShard:
@staticmethod
def get_shards_from_config(node: StorageNode) -> list[Shard]:
config_file = node.get_remote_config_path()
config_file = node.get_shard_config_path()
file_type = pathlib.Path(config_file).suffix
contents = node.host.get_shell().exec(f"cat {config_file}").stdout