diff options
author | Pascal Terjan <pterjan@mageia.org> | 2020-06-28 19:38:07 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2020-06-28 19:38:07 +0000 |
commit | b25a543dfd218cc5725d82fec4dbd9af1f50564b (patch) | |
tree | f9c97d03921654fe7dfdb6c916af1342fbb0a7e2 /modules/mga-mirrors | |
parent | 320730b5faaa25fd9c8f644731512b4d4e9b9161 (diff) | |
download | puppet-b25a543dfd218cc5725d82fec4dbd9af1f50564b.tar puppet-b25a543dfd218cc5725d82fec4dbd9af1f50564b.tar.gz puppet-b25a543dfd218cc5725d82fec4dbd9af1f50564b.tar.bz2 puppet-b25a543dfd218cc5725d82fec4dbd9af1f50564b.tar.xz puppet-b25a543dfd218cc5725d82fec4dbd9af1f50564b.zip |
Fix error when failing to connect
Diffstat (limited to 'modules/mga-mirrors')
-rwxr-xr-x | modules/mga-mirrors/files/check_mirrors_status | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index eae56627..867ff3ec 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -15,7 +15,7 @@ def get_dates(base, archs_per_distro, optional=true) r[d][a] = get_date(base, d, a) rescue Net::OpenTimeout, Timeout::Error, ArgumentError, NoMethodError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, IOError => e if !optional then - STDERR.puts "Failed to fetch #{version_url(url, distrib, arch)}" + STDERR.puts "Failed to fetch #{version_url(base, d, a)}" raise end end |