File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ function wait_for_placement_resources {
16
16
local expected_count=1
17
17
local resource_class=" RC0"
18
18
19
- curl -L -o jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
19
+ curl --fail - L -o jq https://github.com/stedolan/jq/releases/download/jq-1.5/jq-linux64
20
20
chmod +x jq
21
21
22
22
# TODO(mgoddard): switch to Placement OSC plugin, once it exists
@@ -36,6 +36,7 @@ function wait_for_placement_resources {
36
36
# Fetch provider UUIDs from Placement
37
37
local providers
38
38
args=(
39
+ --fail
39
40
-sH " X-Auth-Token: $token "
40
41
)
41
42
if [[ " $TLS_ENABLED " = " True" ]]; then
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ if ! [ -f "${IMAGE_PATH}/${IMAGE}" ]; then
66
66
IMAGE_PATH=' ./'
67
67
if ! [ -f " ${IMAGE_PATH} /${IMAGE} " ]; then
68
68
echo None found, downloading cirros image.
69
- curl -L -o ${IMAGE_PATH} /${IMAGE} ${IMAGE_URL} /${IMAGE}
69
+ curl --fail - L -o ${IMAGE_PATH} /${IMAGE} ${IMAGE_URL} /${IMAGE}
70
70
fi
71
71
else
72
72
echo Using cached cirros image from the nodepool node.
You can’t perform that action at this time.
0 commit comments