Added read status to obj

Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
m.malygina 2024-06-05 20:57:23 +03:00
parent dedd478afb
commit d45eb45b07

View file

@ -168,7 +168,7 @@ export function obj_write() {
if (obj_registry) { if (obj_registry) {
obj_registry.addObject('', '', bucket, key, payload.hash()); obj_registry.addObject('', '', bucket, key, payload.hash());
log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, objid: obj.id, status: obj.status}) log.withFields({bucket : obj.s3_bucket, key : obj.s3_key})
.info("write successfully"); .info("write successfully");
} }
} }