forked from TrueCloudLab/frostfs-testcases
[#97] Use shards config path
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
07debbb1ca
commit
f70dfd310e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue