Fix logger output variable

Signed-off-by: anikeev-yadro <a.anikeev@yadro.com>
This commit is contained in:
anikeev-yadro 2022-11-02 09:26:28 +03:00 committed by anikeev-yadro
parent b8ab64e2c6
commit 55c61ca73f

View file

@ -123,7 +123,7 @@ def list_containers(wallet: str, shell: Shell) -> list[str]:
""" """
cli = NeofsCli(shell, NEOFS_CLI_EXEC, WALLET_CONFIG) cli = NeofsCli(shell, NEOFS_CLI_EXEC, WALLET_CONFIG)
result = cli.container.list(rpc_endpoint=NEOFS_ENDPOINT, wallet=wallet) result = cli.container.list(rpc_endpoint=NEOFS_ENDPOINT, wallet=wallet)
logger.info(f"Containers: \n{output}") logger.info(f"Containers: \n{result}")
return result.stdout.split() return result.stdout.split()