From ffd20a41df235ddf640b10b0d5089fcf2e903ec5 Mon Sep 17 00:00:00 2001 From: "m.malygina" Date: Wed, 5 Jun 2024 17:54:44 +0300 Subject: [PATCH] Added read status to obj Signed-off-by: m.malygina --- scenarios/s3longevity.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scenarios/s3longevity.js b/scenarios/s3longevity.js index 4790110..9c48d86 100644 --- a/scenarios/s3longevity.js +++ b/scenarios/s3longevity.js @@ -188,9 +188,8 @@ export function obj_read() { log.withFields({bucket : obj.s3_bucket, key : obj.s3_key, status: obj.status, op: `READ`}) .error(resp.error); } 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}).info("read successfully"); + obj_registry.setObjectStatus(obj.id, obj.status, 'read'); } return