mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-27 06:35:54 +03:00
[PR #1593] [MERGED] Additional bucket response attributes #1638
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#1638
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/1593
Author: @manuteleco
Created: 5/5/2024
Status: ✅ Merged
Merged: 5/7/2024
Merged by: @fsouza
Base:
main← Head:additional_bucket_response_attributes📝 Commits (1)
b12da28Additional bucket response attributes📊 Changes
2 files changed (+20 additions, -0 deletions)
View changed files
📝
fakestorage/bucket_test.go(+12 -0)📝
fakestorage/response.go(+8 -0)📄 Description
Include these attributes in the JSON response for buckets:
projectNumbermetagenerationetaglocationTypeSome client libraries expect them to be present, and fail to deserialize the response otherwise.
We don't care too much about their values at this stage, so we just picked valid and reasonable constants.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.