lib/convox/client.rb in convox_installer-1.0.0 vs lib/convox/client.rb in convox_installer-1.0.1
- old
+ new
@@ -221,10 +221,10 @@
"--name \"#{bucket_name}\" " \
"--wait"
retries = 0
loop do
- return if s3_bucket_exists?
+ break if s3_bucket_exists?
if retries > 10
raise "Something went wrong while creating the #{bucket_name} S3 bucket! " \
"(Please wait a few moments and then restart the installation script.)"
end