fix return value and spec
This commit is contained in:
parent
52bb564812
commit
dad1d0b864
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ module Gitlab
|
||||||
if File.exist?(@archive_file)
|
if File.exist?(@archive_file)
|
||||||
yield
|
yield
|
||||||
|
|
||||||
break
|
return true
|
||||||
else
|
else
|
||||||
sleep(2**retry_number)
|
sleep(2**retry_number)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue