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
11d82924e9
commit
ffd20a41df
1 changed files with 2 additions and 3 deletions
|
@ -188,9 +188,8 @@ export function obj_read() {
|
||||||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, status: obj.status, op: `READ`})
|
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, status: obj.status, op: `READ`})
|
||||||
.error(resp.error);
|
.error(resp.error);
|
||||||
} else {
|
} else {
|
||||||
//obj_registry.setObjectStatus(obj.id, obj.status, "read");
|
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}).info("read successfully");
|
||||||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key})
|
obj_registry.setObjectStatus(obj.id, obj.status, 'read');
|
||||||
.info("read successfully");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue