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,
|
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(
|
||||||
|
|
Loading…
Reference in a new issue