[#342] Remove try-catch from delete block
All checks were successful
DCO action / DCO (pull_request) Successful in 1m24s

Signed-off-by: a.berezin <a.berezin@yadro.com>
This commit is contained in:
Andrey Berezin 2024-12-24 11:16:38 +03:00
parent dc5a9e7bb9
commit 6bdc93b4d9

View file

@ -181,7 +181,6 @@ class ContainerOperations(interfaces.ContainerInterface):
force: bool = False,
trace: bool = False,
):
try:
return self.cli.container.delete(
rpc_endpoint=endpoint,
cid=cid,
@ -193,8 +192,6 @@ class ContainerOperations(interfaces.ContainerInterface):
force=force,
trace=trace,
).stdout
except RuntimeError as e:
print(f"Error request:\n{e}")
@reporter.step("Get container")
def get(