Use less verbose log for success message
This commit is contained in:
parent
50cac8a9a1
commit
ce9504401b
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ WEBHOOK=${CHANNEL_TO_WEBHOOK[$1]}
|
||||||
if [ "$2" != "error" ]; then
|
if [ "$2" != "error" ]; then
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
-H 'Content-type: application/json' \
|
-H 'Content-type: application/json' \
|
||||||
--data "{\"text\":\"INFO \", \"attachments\": [{\"color\": \"#008000\", \"text\": \"$3\"}]}" \
|
--data "{\"text\":\"INFO $3 \"}" \
|
||||||
"$WEBHOOK" >/dev/null 2>&1
|
"$WEBHOOK" >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
curl -X POST \
|
curl -X POST \
|
||||||
|
|
Loading…
Add table
Reference in a new issue