mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 13:45:52 +03:00
[PR #1079] [MERGED] Add Reseed Endpoint #1175
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#1175
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/1079
Author: @RachitSharma2001
Created: 2/19/2023
Status: ✅ Merged
Merged: 3/21/2023
Merged by: @fsouza
Base:
main← Head:reseed📝 Commits (1)
9291da9Add Reseed Endpoint📊 Changes
2 files changed (+293 additions, -0 deletions)
View changed files
📝
fakestorage/server.go(+85 -0)📝
fakestorage/server_test.go(+208 -0)📄 Description
Addresses #1033
This adds a reseed endpoint at
_internal/reseedTo reseed, the
/datafolder is reread fully and the server's backend in reinitialized. I fix the folder to be/datasince this is also fixed ininternal/config.gohere.I also added a test on the helper function that the reseed endpoint uses.
Please let me know if there are any changes or things to add.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.