Fix compile error introduced in merge of #904

This commit is contained in:
Bryan Boreham committed 2015-06-12 16:20:35 +01:00
1 parent 7462fe91d5
commit 5aafbbeff0
1 file changed
+1 -1
+1 -1
View File
@@ -36,7 +36,7 @@ func ServeHTTP(listener net.Listener, version string, server *DNSServer, dockerC
})
muxRouter.Methods("GET").Path("/domain").HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
fmt.Fprintln(w, db.Domain())
fmt.Fprintln(w, server.Zone.Domain())
})
muxRouter.Methods("PUT").Path("/name/{id:.+}/{ip:.+}").HandlerFunc(func(w http.ResponseWriter, r *http.Request) {