Skip to content

Commit 2809ef9

Browse files
committed
Terraform managed file
1 parent 34092d9 commit 2809ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.ci/.ci-utility-files/common.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ function failure() {
223223

224224
if [ -n "${SLACK_WEBHOOK}" ]; then
225225
if [ -f "$(output_file)" ]; then
226-
slack -s error -m "ERROR: ${1}" -f "$(output_file)" -T 5
226+
slack -s error -m "ERROR: ${msg}" -f "$(output_file)" -T 5
227227
else
228-
slack -s error -m "ERROR: ${1}"
228+
slack -s error -m "ERROR: ${msg}"
229229
fi
230230
fi
231231
exit 1
@@ -247,9 +247,9 @@ function warn() {
247247

248248
if [ -n "${SLACK_WEBHOOK}" ]; then
249249
if [ -f "$(output_file)" ]; then
250-
slack -s warn -m "WARNING: ${1}" -f "$(output_file)"
250+
slack -s warn -m "WARNING: ${msg}" -f "$(output_file)"
251251
else
252-
slack -s warn -m "WARNING: ${1}"
252+
slack -s warn -m "WARNING: ${msg}"
253253
fi
254254
fi
255255
}

0 commit comments

Comments
 (0)