Merge pull request #15328 from Kentzo/timeout-typo

download_strategy: Fix the timeout value.
This commit is contained in:
Mike McQuaid 2023-04-29 11:11:41 +01:00 committed by GitHub
commit 4789d18c7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -202,7 +202,7 @@ class VCSDownloadStrategy < AbstractDownloadStrategy
if cached_location.exist? && repo_valid?
puts "Updating #{cached_location}"
update(timeout: timeout)
update(timeout: end_time)
elsif cached_location.exist?
puts "Removing invalid repository from cache"
clear_cache