Skip to content

Commit

Permalink
Change name
Browse files Browse the repository at this point in the history
  • Loading branch information
federicotdn committed Jan 21, 2025
1 parent 52e05dd commit f64034f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func (s *Server) AddWebSocket() {
// AddHTTPTesting enables routes for simple HTTP endpoint testing, like in httpbin.org.
func (s *Server) AddHTTPTesting() {
s.router.Group(func(r chi.Router) {
s.traceInstaller.Install(r, "http-testing")
s.traceInstaller.Install(r, "httptesting")

r.HandleFunc("/api/status/{status:\\d+}", func(w http.ResponseWriter, r *http.Request) {
status, err := strconv.Atoi(chi.URLParam(r, "status"))
Expand Down

0 comments on commit f64034f

Please sign in to comment.