This repository has been archived by the owner on May 3, 2023. It is now read-only.
Check for existing S3 bucket using get
API call
#15
Labels
get
API call
#15
In lib/shutterbug/storage/s3_storage.rb#creat_bin we should try first using
@bin = self.connection.directories.get(Configuration.instance.s3_bin)
and checking to see if that returned a valid result, before creating the@bin
usingThis morning we learned that if we have more than 100 buckets and call
directories.create
S3 returns a 404, which isn't handled nicely by Fog.FYI: @scytacki @jengoree
The text was updated successfully, but these errors were encountered: