mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
No quotes needed/wanted for CURL_RETRY_CONNREFUSED
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
This commit is contained in:
parent
1b9e9c6fe6
commit
a20a005986
@ -2113,10 +2113,12 @@ function download-extra-addons {
|
|||||||
#
|
#
|
||||||
# $1: URL path after /computeMetadata/v1/ (without heading slash).
|
# $1: URL path after /computeMetadata/v1/ (without heading slash).
|
||||||
function get-metadata-value {
|
function get-metadata-value {
|
||||||
|
# We do not want quotes for CURL_RETRY_CONNREFUSED
|
||||||
|
# shellcheck disable=SC2086
|
||||||
curl \
|
curl \
|
||||||
--retry 5 \
|
--retry 5 \
|
||||||
--retry-delay 3 \
|
--retry-delay 3 \
|
||||||
"${CURL_RETRY_CONNREFUSED}" \
|
${CURL_RETRY_CONNREFUSED} \
|
||||||
--fail \
|
--fail \
|
||||||
--silent \
|
--silent \
|
||||||
-H 'Metadata-Flavor: Google' \
|
-H 'Metadata-Flavor: Google' \
|
||||||
|
Loading…
Reference in New Issue
Block a user