mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[PR #1121] [MERGED] Fix directory being used during reseed #1208
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#1208
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/1121
Author: @eliasdaler
Created: 4/4/2023
Status: ✅ Merged
Merged: 4/6/2023
Merged by: @fsouza
Base:
main← Head:main📝 Commits (1)
2515e19Fix directory being used during reseed📊 Changes
2 files changed (+3 additions, -2 deletions)
View changed files
📝
fakestorage/server.go(+2 -2)📝
internal/config/config.go(+1 -0)📄 Description
Related to #1079.
"/data" directory was hard-coded previously, needed to use config's "Seed" instead.
E.g. when running it like this:
docker run -d -p 4444:4443 -v ~/test_data:/store fsouza/fake-gcs-server -data "/store"the files were being loaded from "/data" and not from
/store.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.