8000 fix endpoint · gigapi/gigapi@c00451f · GitHub
[go: up one dir, main page]

Skip to content

Commit c00451f

Browse files
Lorenzo ManganiLorenzo Mangani
Lorenzo Mangani
authored and
Lorenzo Mangani
committed
fix endpoint
1 parent 9181f91 commit c00451f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

merge/merge.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,10 @@ func InitHandlers() {
7474
router.RegisterRoute(&router.Route{
7575
Path: "/health",
7676
Methods: []string{"GET"},
77-
Handler: func(w http.ResponseWriter, r *http.Request) {
77+
Handler: func(w http.ResponseWriter, r *http.Request) error {
7878
w.WriteHeader(http.StatusOK)
7979
w.Write([]byte("OK"))
80+
return nil
8081
},
8182
})
8283

0 commit comments

Comments
 (0)
0