fix kubeEventsSlack example: typo and wrong variable name (#140)
- change comma to semicolon - change variable name `path` to `slackWebhookPath`
This commit is contained in:
committed by
Soam Vasani
parent
4d16a4be08
commit
6af605bfe8
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
let https = require('https');
|
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) {
|
function upcaseFirst(s) {
|
||||||
return s.charAt(0).toUpperCase() + s.slice(1).toLowerCase();
|
return s.charAt(0).toUpperCase() + s.slice(1).toLowerCase();
|
||||||
|
|||||||
Reference in New Issue
Block a user