mirror of
https://github.com/tailscale/tailscale.git
synced 2025-03-31 21:42:24 +00:00
logpolicy: disable logs on plan9 for now
They're just distracting at the moment. Updates #5794 Change-Id: I3e3580ec4b31401c5fea24381387958bd730fba6
This commit is contained in:
parent
14db99241f
commit
7a5633a859
@ -627,7 +627,7 @@ func (opts Options) New() *Policy {
|
|||||||
conf.IncludeProcSequence = true
|
conf.IncludeProcSequence = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if envknob.NoLogsNoSupport() || testenv.InTest() {
|
if envknob.NoLogsNoSupport() || testenv.InTest() || runtime.GOOS == "plan9" {
|
||||||
opts.Logf("You have disabled logging. Tailscale will not be able to provide support.")
|
opts.Logf("You have disabled logging. Tailscale will not be able to provide support.")
|
||||||
conf.HTTPC = &http.Client{Transport: noopPretendSuccessTransport{}}
|
conf.HTTPC = &http.Client{Transport: noopPretendSuccessTransport{}}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user