From ff2ece942e9e0f3a446d28e8a147190b00fdc7d9 Mon Sep 17 00:00:00 2001 From: Vladimir Domnich Date: Tue, 12 Jul 2022 09:46:30 +0400 Subject: [PATCH] Fix passing flag into container get command. --- robot/resources/lib/python_keywords/container.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/robot/resources/lib/python_keywords/container.py b/robot/resources/lib/python_keywords/container.py index 0e5da3ae..5d53a318 100644 --- a/robot/resources/lib/python_keywords/container.py +++ b/robot/resources/lib/python_keywords/container.py @@ -104,7 +104,7 @@ def get_container(wallet: str, cid: str, flag: str = '--json') -> dict: """ cmd = ( f'{NEOFS_CLI_EXEC} --rpc-endpoint {NEOFS_ENDPOINT} --wallet {wallet} ' - f'--config {WALLET_CONFIG} --cid {cid} container get --json' + f'--config {WALLET_CONFIG} --cid {cid} container get {flag}' ) output = _cmd_run(cmd) if flag != '--json':