diff --git a/scenarios/s3longevity.js b/scenarios/s3longevity.js index 25d5bdc..79c28cc 100644 --- a/scenarios/s3longevity.js +++ b/scenarios/s3longevity.js @@ -185,9 +185,9 @@ export function obj_read() { if (!resp.success) { log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}) .error(resp.error); - } else if (obj.status == "created") { - obj_registry.setObjectStatus(obj.id, obj.status, "read"); } + obj_registry.setObjectStatus(obj.id, obj.status, "read"); + return }