NO-ISSUE: Updated to new versions

This commit is contained in:
2023-03-07 08:17:18 +01:00
parent 3492884cb1
commit 1b49dbaf0e
6 changed files with 48 additions and 39 deletions
+1 -9
View File
@@ -61,7 +61,7 @@ func (h *healthChecker) stop() {
log.Debug("Health checker stopped.")
}
//internal function to process the health check
// internal function to process the health check
func (h *healthChecker) doCheck() {
var msg string
h.healthy, msg = h.checkFunc()
@@ -73,14 +73,6 @@ func (h *healthChecker) doCheck() {
h.lastChecked = time.Now()
}
/* Routes add routes for liveness and readyness probes
func (h *healthChecker) Routes() *chi.Mux {
router := chi.NewRouter()
router.Get("/healthz", h.healthyEndpoint)
router.Get("/readyz", h.readinessEndpoint)
return router
}*/
/*
GetHealthyEndpoint is this service healthy
*/
+3 -2
View File
@@ -13,8 +13,9 @@ import (
"time"
"github.com/creasty/defaults"
"github.com/go-chi/chi"
"github.com/go-chi/chi/middleware"
"github.com/go-chi/chi/v5"
"github.com/go-chi/chi/v5/middleware"
"github.com/go-chi/cors"
"github.com/go-chi/render"
"scm.yoorie.de/go-lib/certs"