diff --git a/scenarios/s3longevity.js b/scenarios/s3longevity.js index 9c48d86..24ea2c6 100644 --- a/scenarios/s3longevity.js +++ b/scenarios/s3longevity.js @@ -189,7 +189,7 @@ export function obj_read() { .error(resp.error); } else { log.withFields({bucket : obj.s3_bucket, key : obj.s3_key}).info("read successfully"); - obj_registry.setObjectStatus(obj.id, obj.status, 'read'); + obj_registry.setObjectStatus(obj.s3_key, obj.status, 'read'); } return