forked from TrueCloudLab/xk6-frostfs
Added delete object after read
Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
parent
81fe6e85a0
commit
dc8a9b196f
1 changed files with 3 additions and 0 deletions
|
@ -223,6 +223,9 @@ export function delete_object(obj) {
|
|||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, op : 'DELETE'})
|
||||
.error(resp.error);
|
||||
return;
|
||||
} else {
|
||||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key})
|
||||
.error(resp.success);
|
||||
}
|
||||
|
||||
obj_registry.deleteObject(obj.id);
|
||||
|
|
Loading…
Reference in a new issue