Wire peer discovery delete into reset and rmpeer

This commit is contained in:
Bryan Boreham committed 2017-04-10 14:09:06 +00:00
1 parent 768f89c3de
commit c8adcb2e79
2 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -372,7 +372,7 @@ func main() {
}
router.HandleHTTP(muxRouter)
HandleHTTP(muxRouter, version, router, allocator, defaultSubnet, ns, dnsserver)
HandleHTTPPeer(muxRouter, allocator)
HandleHTTPPeer(muxRouter, allocator, discoveryEndpoint, token, name.String())
muxRouter.Methods("GET").Path("/metrics").Handler(metricsHandler(router, allocator, ns, dnsserver))
http.Handle("/", common.LoggingHTTPHandler(muxRouter))
Log.Println("Listening for HTTP control messages on", httpAddr)