Skip to content

Commit

Permalink
netdata/packaging/ci: Make slack lib fail loud when parameters are br…
Browse files Browse the repository at this point in the history
…oken
  • Loading branch information
Pavlos Emm. Katsoulakis committed May 19, 2019
1 parent d5ffdf4 commit c1b54fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/installer/slack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,9 @@ post_message() {
echo "Sending ${POST_MESSAGE}"
curl -X POST --data-urlencode "payload=${POST_MESSAGE}" "${SLACK_NOTIFY_WEBHOOK_URL}"
;;
*)
echo "Unrecognized message type \"$TYPE\" was given"
return 1
;;
esac
}

0 comments on commit c1b54fa

Please sign in to comment.