mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 00:04:15 -04:00
cleanup: remove redundant return statement (#3297)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
committed by
Miek Gieben
parent
004c5fca9d
commit
081e45afa3
@@ -43,7 +43,6 @@ func (h *health) OnStartup() error {
|
||||
// We're always healthy.
|
||||
w.WriteHeader(http.StatusOK)
|
||||
io.WriteString(w, http.StatusText(http.StatusOK))
|
||||
return
|
||||
})
|
||||
|
||||
go func() { http.Serve(h.ln, h.mux) }()
|
||||
|
||||
Reference in New Issue
Block a user