From b6d5372f0aa06b6325082ad3da020981fe5aa458 Mon Sep 17 00:00:00 2001 From: vagrant-bot Date: Mon, 25 Sep 2023 11:01:08 -0700 Subject: [PATCH] Terraform managed file --- .ci/.ci-utility-files/common.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.ci/.ci-utility-files/common.sh b/.ci/.ci-utility-files/common.sh index 334403b..d91c452 100644 --- a/.ci/.ci-utility-files/common.sh +++ b/.ci/.ci-utility-files/common.sh @@ -223,9 +223,9 @@ function failure() { if [ -n "${SLACK_WEBHOOK}" ]; then if [ -f "$(output_file)" ]; then - slack -s error -m "ERROR: ${1}" -f "$(output_file)" -T 5 + slack -s error -m "ERROR: ${msg}" -f "$(output_file)" -T 5 else - slack -s error -m "ERROR: ${1}" + slack -s error -m "ERROR: ${msg}" fi fi exit 1 @@ -247,9 +247,9 @@ function warn() { if [ -n "${SLACK_WEBHOOK}" ]; then if [ -f "$(output_file)" ]; then - slack -s warn -m "WARNING: ${1}" -f "$(output_file)" + slack -s warn -m "WARNING: ${msg}" -f "$(output_file)" else - slack -s warn -m "WARNING: ${1}" + slack -s warn -m "WARNING: ${msg}" fi fi }