mirror of
https://github.com/tailscale/tailscale.git
synced 2026-11-25 19:21:18 -08:00
no need to defer
This commit is contained in:
1 parent
5e15c25937
commit
2d2b954006
1 file changed
+1
-1
@@ -149,6 +149,6 @@ func (m *monitor) handleDial(w http.ResponseWriter, r *http.Request) {
|
||||
http.Error(w, "", 500)
|
||||
return
|
||||
}
|
||||
defer c.Close()
|
||||
c.Close()
|
||||
w.Write([]byte("ok\n"))
|
||||
}
|
||||
Reference in new issue
Block a user