mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #1258] [MERGED] Additional bucket response attributes #1333
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#1333
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/1258
Author: @manuteleco
Created: 7/22/2023
Status: ✅ Merged
Merged: 7/30/2023
Merged by: @fsouza
Base:
main← Head:additional_bucket_response_attributes📝 Commits (3)
de0a037Support bucket creation time in the FS backendd1d1e94Include theupdatedattribute in Bucket object responsesf368461Include thestorageClassattribute in Bucket object responses📊 Changes
4 files changed (+19 additions, -1 deletions)
View changed files
📝
fakestorage/bucket_test.go(+6 -0)📝
fakestorage/response.go(+4 -0)📝
internal/backend/backend_test.go(+4 -0)📝
internal/backend/fs.go(+5 -1)📄 Description
Include additional attributes in Bucket responses, so that
fake-gcs-servercan be used with certain client libraries that rely on those attributes being there (like googleCloudStorageR).With these changes we include three additional attributes:
timeCreated(was already present when using the Memory backend),updatedandstorageClass.So we go from:
to:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.