mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-25 11:05:45 +00:00
safesocket: don't depend on go-ps on iOS
There's never a tailscaled on iOS. And we can't run child processes to look for it anyway. Updates tailscale/corp#20099 Change-Id: Ieb3776f4bb440c4f1c442fdd169bacbe17f23ddb Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
parent
367fba8520
commit
fb420be176
@ -1,7 +1,7 @@
|
|||||||
// Copyright (c) Tailscale Inc & AUTHORS
|
// Copyright (c) Tailscale Inc & AUTHORS
|
||||||
// SPDX-License-Identifier: BSD-3-Clause
|
// SPDX-License-Identifier: BSD-3-Clause
|
||||||
|
|
||||||
//go:build linux || windows || darwin || freebsd
|
//go:build linux || windows || (darwin && !ios) || freebsd
|
||||||
|
|
||||||
package safesocket
|
package safesocket
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ func TestDeps(t *testing.T) {
|
|||||||
"html/template": "linker bloat (MethodByName)",
|
"html/template": "linker bloat (MethodByName)",
|
||||||
"tailscale.com/net/wsconn": "https://github.com/tailscale/tailscale/issues/13762",
|
"tailscale.com/net/wsconn": "https://github.com/tailscale/tailscale/issues/13762",
|
||||||
"github.com/coder/websocket": "https://github.com/tailscale/tailscale/issues/13762",
|
"github.com/coder/websocket": "https://github.com/tailscale/tailscale/issues/13762",
|
||||||
|
"github.com/mitchellh/go-ps": "https://github.com/tailscale/tailscale/pull/13759",
|
||||||
},
|
},
|
||||||
}.Check(t)
|
}.Check(t)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user