mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-22 17:01:43 +00:00
ipn/ipnlocal: fix doctor API endpoint (#11155)
Small fix to make sure doctor API endpoint returns correctly - I spotted it when checking my tailscaled node and noticed it was handled slightly different compare to the rest Signed-off-by: San <santrancisco@users.noreply.github.com>
This commit is contained in:
parent
3aca29e00e
commit
69f5664075
@ -351,6 +351,7 @@ func (h *peerAPIHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
case "/v0/doctor":
|
case "/v0/doctor":
|
||||||
h.handleServeDoctor(w, r)
|
h.handleServeDoctor(w, r)
|
||||||
|
return
|
||||||
case "/v0/sockstats":
|
case "/v0/sockstats":
|
||||||
h.handleServeSockStats(w, r)
|
h.handleServeSockStats(w, r)
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user