Skip to content

Commit

Permalink
Terraform managed file
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrant-bot committed Sep 25, 2023
1 parent 34092d9 commit 2809ef9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .ci/.ci-utility-files/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit 2809ef9

Please sign in to comment.