Move peer http handlers from ipam to weaver
This commit is contained in:
1 parent
e2d644b86b
commit
768f89c3de
3 files changed
+22
-11
No files matched your search
@@ -372,6 +372,7 @@ func main() {
|
||||
}
|
||||
router.HandleHTTP(muxRouter)
|
||||
HandleHTTP(muxRouter, version, router, allocator, defaultSubnet, ns, dnsserver)
|
||||
HandleHTTPPeer(muxRouter, allocator)
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user