Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Mar 5, 2025
1 parent 3973bb3 commit cf4d5fc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ var bindAddr = flag.String("listen", ":9110", "The port to listen on.")
// defaultErrorReason is the default reason string when not present for a rejection condition
const defaultErrorReason string = "app or user text rejected"


type config struct {
// Username and password required to access the bug report listings
BugsUser string `yaml:"listings_auth_user"`
Expand Down
1 change: 0 additions & 1 deletion submit.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ type submitErrorResponse struct {
}



func (s *submitServer) ServeHTTP(w http.ResponseWriter, req *http.Request) {
// if we attempt to return a response without reading the request body,
// apache gets upset and returns a 500. Let's try this.
Expand Down

0 comments on commit cf4d5fc

Please sign in to comment.