mirror of
https://github.com/tailscale/tailscale.git
synced 2025-06-19 14:48:39 +00:00
net/netcheck: only run HTTP netcheck for tamago clients
Signed-off-by: Andrea Barisani <andrea@inversepath.com>
This commit is contained in:
parent
3ba5fd4baa
commit
affe11c503
@ -812,7 +812,7 @@ func (c *Client) GetReport(ctx context.Context, dm *tailcfg.DERPMap) (_ *Report,
|
|||||||
c.curState = nil
|
c.curState = nil
|
||||||
}()
|
}()
|
||||||
|
|
||||||
if runtime.GOOS == "js" {
|
if runtime.GOOS == "js" || runtime.GOOS == "tamago" {
|
||||||
if err := c.runHTTPOnlyChecks(ctx, last, rs, dm); err != nil {
|
if err := c.runHTTPOnlyChecks(ctx, last, rs, dm); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user