Skip to content

workflow run ls should allow limit=1 #2035

@jiparis

Description

@jiparis

Setting the --limit 1 raises an exception, as minimum value is 2.

✗ cl wf run ls --project myproject --limit 1
WRN API contacted in insecure mode
ERR validation error:
 - pagination.limit: value must be greater than or equal to 2 and less than or equal to 100 [int32.gte_lte]

I believe this is unexpected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions