fix kubeEventsSlack example: typo and wrong variable name (#140)

- change comma to semicolon
- change variable name `path` to `slackWebhookPath`
This commit is contained in:
Simon Dittlmann
2017-03-04 14:08:23 -08:00
committed by Soam Vasani
parent 4d16a4be08
commit 6af605bfe8
+1 -1
View File
@@ -17,7 +17,7 @@
let https = require('https');
const path = "YOUR RELATIVE PATH HERE", // Something like "/services/XXX/YYY/zZz123"
const slackWebhookPath = "YOUR RELATIVE PATH HERE"; // Something like "/services/XXX/YYY/zZz123"
function upcaseFirst(s) {
return s.charAt(0).toUpperCase() + s.slice(1).toLowerCase();