Skip to content

Commit

Permalink
add changelog and run goimports -d
Browse files Browse the repository at this point in the history
  • Loading branch information
tgross committed Jul 20, 2022
1 parent 9768e42 commit 2b7de37
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .changelog/13621.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
api: HTTP server now returns a 429 error code when hitting the connection limit
```
4 changes: 2 additions & 2 deletions command/agent/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"encoding/json"
"errors"
"fmt"
"github.com/armon/go-metrics"
"golang.org/x/time/rate"
"net"
"net/http"
"net/http/pprof"
Expand All @@ -16,6 +14,7 @@ import (
"strings"
"time"

"github.com/armon/go-metrics"
assetfs "github.com/elazarl/go-bindata-assetfs"
"github.com/gorilla/handlers"
"github.com/gorilla/websocket"
Expand All @@ -24,6 +23,7 @@ import (
"github.com/hashicorp/go-msgpack/codec"
multierror "github.com/hashicorp/go-multierror"
"github.com/rs/cors"
"golang.org/x/time/rate"

"github.com/hashicorp/nomad/acl"
"github.com/hashicorp/nomad/helper/noxssrw"
Expand Down

0 comments on commit 2b7de37

Please sign in to comment.