Skip to content

Return an error when no entities found for listing #582

@Westwooo

Description

@Westwooo

We have a few commands that list things e.g credentials, clusters, buckets etc. At the moment these just return an empty list when there are none of the relevant entities. Instead we should take the approach that the columnar clusters command takes and return an error not found, to make it clearer to the user what is happening.

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