mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-31 16:23:44 +00:00
no need for a blank return at the end
This commit is contained in:
parent
f7ec770f03
commit
5e15c25937
@ -124,7 +124,6 @@ func (m *monitor) handleNetmap(w http.ResponseWriter, r *http.Request) {
|
||||
http.Error(w, "", http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
func (m *monitor) handleDial(w http.ResponseWriter, r *http.Request) {
|
||||
@ -152,5 +151,4 @@ func (m *monitor) handleDial(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
defer c.Close()
|
||||
w.Write([]byte("ok\n"))
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user