Skip to content

Commit

Permalink
Fix Issue jubos#123 - refresh bucket list when deleting a bucket
Browse files Browse the repository at this point in the history
  • Loading branch information
mkacherovich committed Oct 29, 2015
1 parent c359b2c commit 3859bd1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fakes3/file_store.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ def delete_bucket(bucket_name)
raise BucketNotEmpty if bucket.objects.count > 0
FileUtils.rm_r(get_bucket_folder(bucket))
@bucket_hash.delete(bucket_name)
@buckets = @bucket_hash.values
end

def get_object(bucket,object_name, request)
Expand Down

0 comments on commit 3859bd1

Please sign in to comment.