mirror of
https://github.com/coredns/coredns.git
synced 2025-12-06 02:15:11 -05:00
@@ -37,6 +37,6 @@ func (h *health) poll() {
|
||||
h.SetOk(true)
|
||||
}
|
||||
|
||||
// Middleware that implements the Healther interface.
|
||||
// Plugins that implements the Healther interface.
|
||||
// TODO(miek): none yet.
|
||||
var healthers = map[string]bool{}
|
||||
|
||||
@@ -49,7 +49,7 @@ func setup(c *caddy.Controller) error {
|
||||
c.OnStartup(h.Startup)
|
||||
c.OnFinalShutdown(h.Shutdown)
|
||||
|
||||
// Don't do AddMiddleware, as health is not *really* a plugin just a separate webserver running.
|
||||
// Don't do AddPlugin, as health is not *really* a plugin just a separate webserver running.
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user