forked from TrueCloudLab/xk6-frostfs
Added read status to obj
Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
parent
5cb7b410f5
commit
7768ef57ee
1 changed files with 2 additions and 2 deletions
|
@ -185,9 +185,9 @@ export function obj_read() {
|
||||||
if (!resp.success) {
|
if (!resp.success) {
|
||||||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key})
|
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key})
|
||||||
.error(resp.error);
|
.error(resp.error);
|
||||||
} else if (obj.status == "created") {
|
|
||||||
obj_registry.setObjectStatus(obj.id, obj.status, "read");
|
|
||||||
}
|
}
|
||||||
|
obj_registry.setObjectStatus(obj.id, obj.status, "read");
|
||||||
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue