mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[PR #2128] [MERGED] fix: return updated bucket JSON from updateBucket endpoint #2122
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#2122
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/2128
Author: @fsouza
Created: 1/31/2026
Status: ✅ Merged
Merged: 1/31/2026
Merged by: @fsouza
Base:
main← Head:fix/update-bucket-return-json📝 Commits (1)
1934a97fix: return updated bucket JSON from updateBucket endpoint📊 Changes
3 files changed (+43 additions, -16 deletions)
View changed files
📝
fakestorage/bucket.go(+17 -7)📝
fakestorage/bucket_test.go(+23 -8)📝
internal/backend/memory.go(+3 -1)📄 Description
The updateBucket endpoint was returning an empty response instead of the updated bucket JSON. This broke Java clients which expect the name field in the response per GCS API docs.
Fixes #2087
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.