diff --git a/scripts/fetch-dashboard-assets.sh b/scripts/fetch-dashboard-assets.sh index 9ffc10b7df..893b5cb578 100755 --- a/scripts/fetch-dashboard-assets.sh +++ b/scripts/fetch-dashboard-assets.sh @@ -23,12 +23,7 @@ function retry_fetch() { local url=$1 local filename=$2 - curl \ - --connect-timeout 10 \ - --retry 3 \ - --retry-connrefused \ - -fsSL $url --output $filename || \ - { + curl --connect-timeout 10 --retry 3 -fsSL $url --output $filename || { echo "Failed to download $url" echo "You may try to set http_proxy and https_proxy environment variables." if [[ -z "$GITHUB_PROXY_URL" ]]; then