Skip to content

Prefixes field is not selected when listing blobs with field selector #932

Description

@mziccard

Thanks to @jean-philippe-martin for spotting this.

The prefixes field is not selected (and thus returned in the JSON) with our field selector option. This causes list(bucket) to return ONLY files (and NOT directories) in the current directory when BlobListOptions.currentDirectory() is provided along with BlobListOption.fields().

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions