lib/rubber/cloud/fog_storage.rb in rubber-2.12.2 vs lib/rubber/cloud/fog_storage.rb in rubber-2.13.0
- old
+ new
@@ -16,10 +16,10 @@
@bucket = bucket
@directory = @storage_provider.directories.get(@bucket)
end
# create the bucket if needed
- def ensure_bucket()
+ def ensure_bucket
Rubber::Util.retry_on_failure(*RETRYABLE_EXCEPTIONS) do
@directory = @storage_provider.directories.create(:key => @bucket) unless @directory
end
return self
end