forked from TrueCloudLab/xk6-frostfs
Added read status to obj
Signed-off-by: m.malygina <m.malygina@yadro.com>
This commit is contained in:
parent
bc066de649
commit
b1a315ea5b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue