plugin/health: cleanups (#2811)

Small, trivial cleanup: got triggered because I saw a comment on how
health plugins polls other plugins which isn't true.

* Remove useless newHealth function
* healthParse -> parse
* Remove useless constants

Net deletion of code.

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2019-05-04 21:06:04 +01:00
committed by Yong Tang
parent e178291ed6
commit 890cdb5cab
6 changed files with 14 additions and 28 deletions

View File

@@ -6,7 +6,7 @@
## Description
Enabled process wide health endpoint. When CoreDNS is up and running this returns a 200 OK http
Enabled process wide health endpoint. When CoreDNS is up and running this returns a 200 OK HTTP
status code. The health is exported, by default, on port 8080/health .
## Syntax