Merge pull request #15328 from Kentzo/timeout-typo
download_strategy: Fix the timeout value.
This commit is contained in:
commit
4789d18c7c
@ -202,7 +202,7 @@ class VCSDownloadStrategy < AbstractDownloadStrategy
|
|||||||
|
|
||||||
if cached_location.exist? && repo_valid?
|
if cached_location.exist? && repo_valid?
|
||||||
puts "Updating #{cached_location}"
|
puts "Updating #{cached_location}"
|
||||||
update(timeout: timeout)
|
update(timeout: end_time)
|
||||||
elsif cached_location.exist?
|
elsif cached_location.exist?
|
||||||
puts "Removing invalid repository from cache"
|
puts "Removing invalid repository from cache"
|
||||||
clear_cache
|
clear_cache
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user