forked from TrueCloudLab/frostfs-testcases
Fix passing flag into container get command.
This commit is contained in:
parent
7473d7fb74
commit
ff2ece942e
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ def get_container(wallet: str, cid: str, flag: str = '--json') -> dict:
|
||||||
"""
|
"""
|
||||||
cmd = (
|
cmd = (
|
||||||
f'{NEOFS_CLI_EXEC} --rpc-endpoint {NEOFS_ENDPOINT} --wallet {wallet} '
|
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)
|
output = _cmd_run(cmd)
|
||||||
if flag != '--json':
|
if flag != '--json':
|
||||||
|
|
Loading…
Reference in a new issue