mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Add flag to toggle telemetry (#2455)
* fix: Add flag to toggle telemetry This allows users to entirely disable tracking from Coder! Telemetry is enabled by default, so this is opt-out. * Update cli/server.go Co-authored-by: Mathias Fredriksson <mafredri@gmail.com> Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
This commit is contained in:
co-authored by
Mathias Fredriksson
parent
d0aca86657
commit
f09ab03baf
+1
-1
@@ -259,7 +259,7 @@ func TestServer(t *testing.T) {
|
||||
server := httptest.NewServer(r)
|
||||
t.Cleanup(server.Close)
|
||||
|
||||
root, _ := clitest.New(t, "server", "--in-memory", "--address", ":0", "--telemetry-url", server.URL)
|
||||
root, _ := clitest.New(t, "server", "--in-memory", "--address", ":0", "--telemetry", "--telemetry-url", server.URL)
|
||||
errC := make(chan error)
|
||||
go func() {
|
||||
errC <- root.ExecuteContext(ctx)
|
||||
|
||||
Reference in New Issue
Block a user