Skip to content

Commit 9d6b4d5

Browse files
author
Johan Steyn
authored
CLOUDP-120435: [Atlas CLI] Telemetry - Set Enabled by Default (#1147)
1 parent 30080a4 commit 9d6b4d5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/cli/default_setter_opts.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,10 @@ func (opts *DefaultSetterOpts) SetUpMongoSHPath() {
240240
}
241241

242242
func (opts *DefaultSetterOpts) SetUpTelemetryEnabled() {
243-
// TODO: Disabling telemetry by default while work is in progress (will be enabled in CLOUDP-120435)
244-
telemetryEnabled := false
243+
// Telemetry is enabled by default
244+
telemetryEnabled := true
245245
if config.IsTelemetryEnabledSet() {
246+
// But if telemetry has previously been set, preserve that setting
246247
telemetryEnabled = config.TelemetryEnabled()
247248
}
248249
config.SetTelemetryEnabled(telemetryEnabled)

0 commit comments

Comments
 (0)