Skip to content

Commit

Permalink
build(go.mod): update 'github.com/urfave/negroni' from v2 to v3
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneM committed Dec 23, 2024
1 parent 55119cd commit 8703251
Show file tree
Hide file tree
Showing 18 changed files with 303 additions and 115 deletions.
5 changes: 2 additions & 3 deletions cmd/acadock-monitoring/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"

"github.com/gorilla/mux"
"github.com/urfave/negroni/v2"
"github.com/urfave/negroni/v3"

"github.com/Scalingo/acadock-monitoring/config"
"github.com/Scalingo/acadock-monitoring/cpu"
Expand Down Expand Up @@ -116,8 +116,7 @@ func main() {

s := graceful.NewService()

err = s.ListenAndServe(ctx, "tcp",
":"+config.ENV["PORT"], n)
err = s.ListenAndServe(ctx, "tcp", ":"+config.ENV["PORT"], n)
if err != nil {
log.WithError(err).Error("fail to stop http server")
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ require (
github.com/sirupsen/logrus v1.9.3
github.com/stretchr/testify v1.10.0
github.com/tklauser/go-sysconf v0.3.14
github.com/urfave/negroni/v2 v2.0.2
github.com/urfave/negroni/v3 v3.1.1
)

require (
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ github.com/tklauser/numcpus v0.9.0 h1:lmyCHtANi8aRUgkckBgoDk1nHCux3n2cgkJLXdQGPD
github.com/tklauser/numcpus v0.9.0/go.mod h1:SN6Nq1O3VychhC1npsWostA+oW+VOQTxZrS604NSRyI=
github.com/urfave/negroni v1.0.0 h1:kIimOitoypq34K7TG7DUaJ9kq/N4Ofuwi1sjz0KipXc=
github.com/urfave/negroni v1.0.0/go.mod h1:Meg73S6kFm/4PpbYdq35yYWoCZ9mS/YSx+lKnmiohz4=
github.com/urfave/negroni/v2 v2.0.2 h1:27gJcVxYJ2a/ytEoCHoJ7ybvyhymV4cAhGuMxkyCsrU=
github.com/urfave/negroni/v2 v2.0.2/go.mod h1:SjdApKzYrObukpN/NnlejbQiZWIUjfDFzQltScGYigI=
github.com/urfave/negroni/v3 v3.1.1 h1:6MS4nG9Jk/UuCACaUlNXCbiKa0ywF9LXz5dGu09v8hw=
github.com/urfave/negroni/v3 v3.1.1/go.mod h1:jWvnX03kcSjDBl/ShB0iHvx5uOs7mAzZXW+JvJ5XYAs=
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1Zlc8k=
Expand Down
30 changes: 0 additions & 30 deletions vendor/github.com/urfave/negroni/v2/.travis.yml

This file was deleted.

56 changes: 56 additions & 0 deletions vendor/github.com/urfave/negroni/v3/.travis.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8703251

Please sign in to comment.