This commit is contained in:
Richard van der Hoff 2020-06-04 12:52:39 +01:00
parent feb1af9686
commit 37b7b7158f
2 changed files with 2 additions and 2 deletions

View file

@ -96,7 +96,7 @@ func main() {
if cfg.SlackWebhookURL == "" {
fmt.Println("No slack_webhook_url configured. Reporting bugs to slack is disabled.")
} else {
slack = NewSlackClient(cfg.SlackWebhookURL)
slack = newSlackClient(cfg.SlackWebhookURL)
}
apiPrefix := cfg.APIPrefix

View file

@ -12,7 +12,7 @@ type slackClient struct {
face string
}
func NewSlackClient(webHook string) *slackClient {
func newSlackClient(webHook string) *slackClient {
return &slackClient{
webHook: webHook,
name: "Notifier",