mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #1266] [MERGED] Omit items if empty in object list response #1342
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#1342
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fsouza/fake-gcs-server/pull/1266
Author: @manuteleco
Created: 7/27/2023
Status: ✅ Merged
Merged: 7/29/2023
Merged by: @fsouza
Base:
main← Head:omit_empty_items_in_object_list📝 Commits (1)
b4d9732Omititemsif empty in object list response📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
fakestorage/response.go(+1 -1)📄 Description
GCS does not include the
itemsattribute in the response from the object list operation when it is empty (i.e., when there are no objects). With this commit we emulate that behavior.Example responses from GCS:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.