Skip to content

Commit 78fbdeb

Browse files
committed
[gopls-release-branch.0.15] gopls/internal/server: update telemetry prompt link
Now that go.dev/doc/telemetry exists, use it as a better link for information about go telemetry. For golang/go#63883 Change-Id: Ibe561c435e648b324a5ac444a8aade953354e92b Reviewed-on: https://go-review.googlesource.com/c/tools/+/570598 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent adfa453 commit 78fbdeb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gopls/internal/server/prompt.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,12 +191,12 @@ func (s *server) maybePromptForTelemetry(ctx context.Context, enabled bool) {
191191
return
192192
}
193193

194-
var prompt = `Go telemetry helps us improve Go by periodically sending anonymous metrics and crash reports to the Go team. Learn more at https://telemetry.go.dev/privacy.
194+
var prompt = `Go telemetry helps us improve Go by periodically sending anonymous metrics and crash reports to the Go team. Learn more at https://go.dev/doc/telemetry.
195195
196196
Would you like to enable Go telemetry?
197197
`
198198
if s.Options().LinkifyShowMessage {
199-
prompt = `Go telemetry helps us improve Go by periodically sending anonymous metrics and crash reports to the Go team. Learn more at [telemetry.go.dev/privacy](https://telemetry.go.dev/privacy).
199+
prompt = `Go telemetry helps us improve Go by periodically sending anonymous metrics and crash reports to the Go team. Learn more at [go.dev/doc/telemetry](https://go.dev/doc/telemetry).
200200
201201
Would you like to enable Go telemetry?
202202
`

0 commit comments

Comments
 (0)