Skip to content

delimiter.js maxKeys==0 param issue #250

@jonathan-gramain

Description

@jonathan-gramain

In algos/list/delimiter.js, in the constructor of Delimiter class, if maxKeys is provided with a value of 0, it gets assigned to 1000 (this.maxKeys = parameters.maxKeys || 1000).

This causes the s3tests.functional.test_s3.test_bucket_list_maxkeys_zero CEPH test to fail because it expects zero entry when setting the limit to 0 but it has all of them.

@DavidPineauScality maybe this bug also affects MetaData in some way, although the ironman machine is obviously happy here, please check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions