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
d892b1633b
commit
1d6dc4c840
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ export function obj_read() {
|
||||||
.error(resp.error);
|
.error(resp.error);
|
||||||
} else {
|
} else {
|
||||||
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}).info("read successfully");
|
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}).info("read successfully");
|
||||||
|
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, objid: obj.id, status: obj.status}).info("obj.info")
|
||||||
obj_registry.setObjectStatus(obj.id, obj.status, 'read');
|
obj_registry.setObjectStatus(obj.id, obj.status, 'read');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue