Simplify the arguments passed to nameserver/http.go:ServeHTTP() (by using information found in some other objects we are already passing, like the server)
This commit is contained in:
1 parent
5cb2347f77
commit
1889a4a87f
3 files changed
+13
-9
No files matched your search
@@ -145,7 +145,7 @@ func main() {
|
||||
}
|
||||
|
||||
go SignalHandlerLoop(srv)
|
||||
go weavedns.ServeHTTP(httpListener, version, srv, domain, zone)
|
||||
go weavedns.ServeHTTP(httpListener, version, srv)
|
||||
|
||||
err = srv.Start()
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user