Add exec to supported kapacitor alerts

pull/10616/head
Chris Goller 2017-02-09 00:29:19 -06:00
parent 7b15168fb1
commit eebb27c507
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ func kapaHandler(handler string) (string, error) {
return "email", nil
case "http":
return "post", nil
case "alerta", "sensu", "slack", "email", "talk", "telegram", "post", "tcp":
case "alerta", "sensu", "slack", "email", "talk", "telegram", "post", "tcp", "exec":
return handler, nil
default:
return "", fmt.Errorf("Unsupported alert handler %s", handler)