mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Fix small logic error in Model#wait_for.
This commit is contained in:
parent
1364f1a0d8
commit
e71895f1a4
1 changed files with 1 additions and 1 deletions
|
@ -39,8 +39,8 @@ module Fog
|
|||
|
||||
def wait_for(timeout=600, interval=1, &block)
|
||||
reload
|
||||
Fog.wait_for(timeout, interval) do
|
||||
retries = 3
|
||||
Fog.wait_for(timeout, interval) do
|
||||
if reload
|
||||
retries = 3
|
||||
elsif retries > 0
|
||||
|
|
Loading…
Add table
Reference in a new issue