[#342] Remove try-catch from delete block #342
1 changed files with 11 additions and 14 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue