healthz: use proper JSON
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
5f8548958f
commit
afc97407f6
@ -57,7 +57,7 @@ func Index() echo.HandlerFunc {
|
||||
|
||||
func Healthz() echo.HandlerFunc {
|
||||
return func(c echo.Context) error {
|
||||
return c.String(http.StatusOK, "{\"status\": \"OK\"}")
|
||||
return c.JSON(http.StatusOK, struct{ Status string }{Status: "OK"})
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user