Closed viveksyngh closed 5 years ago
Introduce new endpoint /_/health to watchdog for health status of functions which checks for /tmp/.lock file
/_/health
/tmp/.lock
Added tests for healthHandler
Issues: https://github.com/openfaas/faas/issues/547
Signed-off-by: Vivek Singh vivekkmr45@yahoo.in
This has been tested on Mac by building the watchdog binary.
curl -i http://localhost:8081/_/health HTTP/1.1 200 OK Date: Tue, 03 Apr 2018 03:51:24 GMT Content-Length: 2 Content-Type: text/plain; charset=utf-8 OK%
git commit -s
I think this looks fine. @johnmccabe can you comment?
Lgtm 👍
Introduce new endpoint
/_/health
to watchdog for health status of functions which checks for/tmp/.lock
fileAdded tests for healthHandler
Issues: https://github.com/openfaas/faas/issues/547
Signed-off-by: Vivek Singh vivekkmr45@yahoo.in
Description
Motivation and Context
How Has This Been Tested?
This has been tested on Mac by building the watchdog binary.
Types of changes
Checklist:
git commit -s