core: hide registerHandler (#964)
* core: hide registerHandler Remove RegisterHandler and just make it implicit when we look at the handler compilation step. * Rename GetHandler to just Handler Update callers and make auto check Hander in OnStartup. * Up test coverage in erratic * up test coverage
This commit is contained in:
parent
65009b5578
commit
8931ede142
11 changed files with 41 additions and 45 deletions
|
@ -55,9 +55,6 @@ func setup(c *caddy.Controller) error {
|
|||
return kubernetes
|
||||
})
|
||||
|
||||
// Also register kubernetes for use in autopath.
|
||||
dnsserver.GetConfig(c).RegisterHandler(kubernetes)
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue