Skip to content

Commit

Permalink
change default path to match service
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Eliasson committed Mar 16, 2018
1 parent 07c49f7 commit 02c9369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
)

var port = flag.String("port", "8080", "Port to listen to")
var postPath = flag.String("path", "/api/alertmanager2hangoutschat/alertmanager", "What path to listen to for POST requests")
var postPath = flag.String("path", "/alertmanager", "What path to listen to for POST requests")
var logFormat = flag.String("log-format", "json", "can be empty string or json")
var logLevel = flag.String("log-level", "info", "Can be one of:"+strings.Join(validLogLevels(), ","))
var templateString = flag.String("template-string", messageTemplate, "template for the messages sent to hangouts chat")
Expand Down

0 comments on commit 02c9369

Please sign in to comment.