chore: remove error log to undefined health check route
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,3 +11,4 @@ bin
|
|||||||
Makefile
|
Makefile
|
||||||
NOTES.md
|
NOTES.md
|
||||||
tests
|
tests
|
||||||
|
configs
|
||||||
@@ -88,7 +88,7 @@ func (heathRoute HealthCheckRoute) HealthCheckHandler(w http.ResponseWriter, r *
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
} else {
|
} 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: ""})
|
routes = append(routes, HealthCheckRouteResponse{Name: route.Name, Status: "undefined", Error: ""})
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user