From b1a315ea5ba4a50fb98817f440dfee64e62d9702 Mon Sep 17 00:00:00 2001 From: "m.malygina" Date: Wed, 5 Jun 2024 17:24:22 +0300 Subject: [PATCH] Added read status to obj Signed-off-by: m.malygina --- scenarios/s3longevity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scenarios/s3longevity.js b/scenarios/s3longevity.js index 14cd62a..54f24af 100644 --- a/scenarios/s3longevity.js +++ b/scenarios/s3longevity.js @@ -180,7 +180,7 @@ export function obj_read() { if (obj_to_read_selector) { const obj = obj_to_read_selector.nextObject(); - if (!obj || (obj.status == "read") ) { + if (!obj ) { return; } const resp = s3_client.get(obj.s3_bucket, obj.s3_key)