[#145] Refactoring old functions for FrostfsCli

FrostfaCli methods moved to FrostfsCliControl

Signed-off-by: Mikhail Kadilov m.kadilov@yadro.com
This commit is contained in:
Mikhail Kadilov 2024-02-16 20:27:20 +03:00
parent 8ae8e0a447
commit 18fcfe6166

View file

@ -65,7 +65,7 @@ class FrostfsCliShards(CliCommand):
Returns:
Command's result.
"""
return self._execute(
return self._execute_with_password(
"control shards set-mode",
wallet_password,
**{param: value for param, value in locals().items() if param not in ["self", "wallet_password"]},