mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-26 06:05:54 +03:00
[PR #1274] [MERGED] backend/fs: return empty BucketAttrs if the metadata file is missing #1347
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#1347
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/1274
Author: @fsouza
Created: 8/1/2023
Status: ✅ Merged
Merged: 8/1/2023
Merged by: @fsouza
Base:
main← Head:fs-backend-return-empty-bucket-metadata-when-.bucketMetadata-doesnt-exist📝 Commits (1)
a875a49backend/fs: return empty BucketAttrs if the metadata file is missing📊 Changes
2 files changed (+79 additions, -0 deletions)
View changed files
📝
internal/backend/fs.go(+3 -0)➕
internal/backend/fs_test.go(+76 -0)📄 Description
This keeps the server compatible with the directory structure from versions older than 1.46.0.
Closes #1271.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.