We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59322d3 commit edd17dfCopy full SHA for edd17df
services/location/server.go
@@ -72,7 +72,7 @@ func (s *Server) Run() error {
72
73
func (s *Server) createServeMux() http.Handler {
74
mux := tracing.NewServeMux(false, s.tracerProvider, s.logger)
75
- mux.Handle("GET /location", http.HandlerFunc(s.listLocations))
+ mux.Handle("GET /location", http.HandlerFunc(s.getLocation))
76
mux.Handle("POST /location", http.HandlerFunc(s.createLocation))
77
mux.Handle("DELETE /location", http.HandlerFunc(s.deleteLocation))
78
mux.Handle("GET /healthz", http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
0 commit comments