Skip to content

Commit

Permalink
add todos for implement proper checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Trojan295 committed Sep 18, 2024
1 parent 8080442 commit 0521487
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/healthz/healthz.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ func (hc *Server) Run(addr string) error {
func (hc *Server) readyCheck(w http.ResponseWriter, r *http.Request) {
w.Header().Set("content-type", "application/json")

// TODO: Implement proper readiness checks.

response := map[string]string{
"status": "ok",
}
Expand All @@ -50,6 +52,8 @@ func (hc *Server) readyCheck(w http.ResponseWriter, r *http.Request) {
func (hc *Server) liveCheck(w http.ResponseWriter, r *http.Request) {
w.Header().Set("content-type", "application/json")

// TODO: Implement proper liveness checks.

response := map[string]string{
"status": "ok",
}
Expand Down

0 comments on commit 0521487

Please sign in to comment.