From adacef19bbb49917ca6b839fe1e29d088246a341 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Thu, 15 Feb 2024 16:40:18 +0300 Subject: [PATCH] [#125] Fix recursion issue Signed-off-by: Andrey Berezin --- scenarios/preset/helpers/frostfs_cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scenarios/preset/helpers/frostfs_cli.py b/scenarios/preset/helpers/frostfs_cli.py index f974d2b..f49f30c 100644 --- a/scenarios/preset/helpers/frostfs_cli.py +++ b/scenarios/preset/helpers/frostfs_cli.py @@ -10,9 +10,9 @@ def create_container(endpoint, policy, wallet_path, config, acl, local=False, de if config: wallet_config = f"--config {config}" if acl: - acl = f"--basic-acl {acl}" + acl_param = f"--basic-acl {acl}" cmd_line = f"frostfs-cli --rpc-endpoint {endpoint} container create {wallet_file} {wallet_config} " \ - f" --policy '{policy}' {acl} --await" + f" --policy '{policy}' {acl_param} --await" output, success = execute_cmd(cmd_line)