forked from TrueCloudLab/xk6-frostfs
[#125] Fix recursion issue
Signed-off-by: Andrey Berezin <a.berezin@yadro.com>
This commit is contained in:
parent
d1578a728f
commit
adacef19bb
1 changed files with 2 additions and 2 deletions
|
@ -10,9 +10,9 @@ def create_container(endpoint, policy, wallet_path, config, acl, local=False, de
|
||||||
if config:
|
if config:
|
||||||
wallet_config = f"--config {config}"
|
wallet_config = f"--config {config}"
|
||||||
if acl:
|
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} " \
|
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)
|
output, success = execute_cmd(cmd_line)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue