forked from TrueCloudLab/frostfs-testlib
[#314] uapdate delete container
This commit is contained in:
parent
6f1baf3cf6
commit
17c2488d75
1 changed files with 11 additions and 14 deletions
|
@ -181,20 +181,17 @@ class ContainerOperations(interfaces.ContainerInterface):
|
|||
force: bool = False,
|
||||
trace: bool = False,
|
||||
):
|
||||
try:
|
||||
return self.cli.container.delete(
|
||||
rpc_endpoint=endpoint,
|
||||
cid=cid,
|
||||
address=address,
|
||||
await_mode=await_mode,
|
||||
session=session,
|
||||
ttl=ttl,
|
||||
xhdr=xhdr,
|
||||
force=force,
|
||||
trace=trace,
|
||||
).stdout
|
||||
except RuntimeError as e:
|
||||
print(f"Error request:\n{e}")
|
||||
return self.cli.container.delete(
|
||||
rpc_endpoint=endpoint,
|
||||
cid=cid,
|
||||
address=address,
|
||||
await_mode=await_mode,
|
||||
session=session,
|
||||
ttl=ttl,
|
||||
xhdr=xhdr,
|
||||
force=force,
|
||||
trace=trace,
|
||||
).stdout
|
||||
|
||||
@reporter.step("Get container")
|
||||
def get(
|
||||
|
|
Loading…
Reference in a new issue