mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #805] [MERGED] Return a 409 when attempting to create a bucket that already exists #933
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#933
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/805
Author: @dnerdy
Created: 6/2/2022
Status: ✅ Merged
Merged: 6/2/2022
Merged by: @fsouza
Base:
main← Head:existing-bucket-409📝 Commits (1)
67191a5Return a 409 when attempting to create a bucket that already exists📊 Changes
2 files changed (+35 additions, -0 deletions)
View changed files
📝
fakestorage/bucket.go(+13 -0)📝
fakestorage/bucket_test.go(+22 -0)📄 Description
This PR updates createBucketByPost to return a 409 response when the
bucket being created already exists. This matches the behavior of the
GCS API.
Fixes #804.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.