Skip to content

Commit

Permalink
spelling fixes + gitignore updates (#67)
Browse files Browse the repository at this point in the history
similar to fortio/fortio#939

ran https://github.com/codespell-project/codespell (with -w after
review/manual checks/tweaks)
  • Loading branch information
ldemailly authored Jun 26, 2024
1 parent 0d0e70d commit ba1b620
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.bak
.DS_Store
slack-proxy
.goreleaser.yaml
.golangci.yml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This tool serves as a proxy for applications aiming to dispatch messages to Slac

## Use-case

For those managing multiple applications, a practical approach is to create a separate Slack app or webhook for each application. That method is prefered. **However**, if you are operating a singular system, like Alertmanager or Grafana, and wish to avoid the complexities of providing individual teams with:
For those managing multiple applications, a practical approach is to create a separate Slack app or webhook for each application. That method is preferred. **However**, if you are operating a singular system, like Alertmanager or Grafana, and wish to avoid the complexities of providing individual teams with:

- Their distinct webhooks
- Unique notification channel keys
Expand Down
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (app *App) handleRequest(w http.ResponseWriter, r *http.Request) {
// This is the downside of having a queue which could potentially delay responses by a lot.
// We do our due diligences on the received message and can make a fair assumption we will be able
// to process it.
// Application should utlise this applications metrics and logs to find out if there are any issues.
// Application should utilize this application's metrics and logs to find out if there are any issues.
err := jrpc.Reply[SlackResponse](w, http.StatusOK, &SlackResponse{
Ok: true,
})
Expand Down

0 comments on commit ba1b620

Please sign in to comment.