Skip to content

Commit 4e149a3

Browse files
committed
fixup
1 parent d2626b5 commit 4e149a3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cli/ping.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func (r *RootCmd) ping() *serpent.Command {
5858
_, _ = fmt.Fprintln(inv.Stderr, "Direct connections disabled.")
5959
opts.BlockEndpoints = true
6060
}
61-
if r.noNetworkTelemetry {
61+
if !r.noNetworkTelemetry {
6262
opts.EnableTelemetry = true
6363
}
6464
conn, err := workspacesdk.New(client).DialAgent(ctx, workspaceAgent.ID, opts)

cli/portforward.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (r *RootCmd) portForward() *serpent.Command {
106106
_, _ = fmt.Fprintln(inv.Stderr, "Direct connections disabled.")
107107
opts.BlockEndpoints = true
108108
}
109-
if r.noNetworkTelemetry {
109+
if !r.noNetworkTelemetry {
110110
opts.EnableTelemetry = true
111111
}
112112
conn, err := workspacesdk.New(client).DialAgent(ctx, workspaceAgent.ID, opts)

cli/speedtest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func (r *RootCmd) speedtest() *serpent.Command {
102102
_, _ = fmt.Fprintln(inv.Stderr, "Direct connections disabled.")
103103
opts.BlockEndpoints = true
104104
}
105-
if r.noNetworkTelemetry {
105+
if !r.noNetworkTelemetry {
106106
opts.EnableTelemetry = true
107107
}
108108
if pcapFile != "" {

0 commit comments

Comments
 (0)