Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

delete_bucket does not remove from the list of buckets #123

Closed
mkacherovich opened this issue Oct 29, 2015 · 1 comment
Closed

delete_bucket does not remove from the list of buckets #123

mkacherovich opened this issue Oct 29, 2015 · 1 comment

Comments

@mkacherovich
Copy link
Collaborator

deteleBucket operation is currently broken because the deleted bucket will still be returned by subsequent listBuckets calls.

This is because file_store::delete_bucket() only modifies the @bucket_hash variable but not the @buckets variable.

mkacherovich added a commit to SwirlNetworks/fake-s3 that referenced this issue Oct 29, 2015
@mkacherovich
Copy link
Collaborator Author

An update. I forked the repository and made this fix. I also implemented a feature that allows local store to be properly rescanned on every request, which makes Fake S3 useful for automation tasks that need to reset state.

The fork can be found here https://github.com/SwirlNetworks/fake-s3

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant