Skip to content

Commit 7de6aee

Browse files
committed
Fixed 'if' equal operator
1 parent 2d8eb92 commit 7de6aee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/run-e2e-kind.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function extend-resources {
409409
--data '[{"op": "add", "path": "/status/capacity/'${resource_name}'", "value": "'${resource_count}'"}]' \
410410
http://localhost:8001/api/v1/nodes/${node_name}/status | jq -r '.status')
411411

412-
if [[ ${patching_status} = "Failure" ]]; then
412+
if [[ ${patching_status} == "Failure" ]]; then
413413
echo "Failed to patch node '${node_name}' with GPU resources"
414414
exit 1
415415
fi

0 commit comments

Comments
 (0)