From 93dd8bca46ebcec6ec41537ec2a582228b73d585 Mon Sep 17 00:00:00 2001 From: Daniil Firsov Date: Tue, 24 Jan 2023 21:30:49 +0300 Subject: [PATCH] dnk: fixup --- shm_actions_script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shm_actions_script.sh b/shm_actions_script.sh index 71e4ec4..99ca3eb 100755 --- a/shm_actions_script.sh +++ b/shm_actions_script.sh @@ -28,7 +28,7 @@ case $EVENT in HTTP_CODE=$(curl -s -o /dev/null -w "%{http_code}" $API_URL/shm/v1/test) if [ $HTTP_CODE -ne '200' ]; then echo "ERROR: incorrect API URL: $API_URL" - echo "Got status: $CODE" + echo "Got status: $HTTP_CODE" exit 1 fi