chore: remove error log to undefined health check route
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -10,4 +10,5 @@ goma
|
||||
bin
|
||||
Makefile
|
||||
NOTES.md
|
||||
tests
|
||||
tests
|
||||
configs
|
||||
@@ -88,7 +88,7 @@ func (heathRoute HealthCheckRoute) HealthCheckHandler(w http.ResponseWriter, r *
|
||||
continue
|
||||
}
|
||||
} else {
|
||||
logger.Error("Route %s's healthCheck is undefined", route.Name)
|
||||
logger.Warn("Route %s's healthCheck is undefined", route.Name)
|
||||
routes = append(routes, HealthCheckRouteResponse{Name: route.Name, Status: "undefined", Error: ""})
|
||||
continue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user