[#314] uapdate delete container

This commit is contained in:
Ekaterina Chernitsyna 2024-11-05 12:51:06 +03:00
parent 6f1baf3cf6
commit 17c2488d75

View file

@ -181,20 +181,17 @@ class ContainerOperations(interfaces.ContainerInterface):
force: bool = False, force: bool = False,
trace: bool = False, trace: bool = False,
): ):
try: return self.cli.container.delete(
return self.cli.container.delete( rpc_endpoint=endpoint,
rpc_endpoint=endpoint, cid=cid,
cid=cid, address=address,
address=address, await_mode=await_mode,
await_mode=await_mode, session=session,
session=session, ttl=ttl,
ttl=ttl, xhdr=xhdr,
xhdr=xhdr, force=force,
force=force, trace=trace,
trace=trace, ).stdout
).stdout
except RuntimeError as e:
print(f"Error request:\n{e}")
@reporter.step("Get container") @reporter.step("Get container")
def get( def get(