Skip to content

Commit

Permalink
chore: Disables webanalytics telemetry reporting by default (#4788)
Browse files Browse the repository at this point in the history
* Disables telemetry reporting by default

* Update cmd/piper.go
  • Loading branch information
ffeldmann authored Jan 22, 2024
1 parent 5d100ef commit d0e205d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cmd/piper.go
Original file line number Diff line number Diff line change
Expand Up @@ -405,9 +405,9 @@ func PrepareConfig(cmd *cobra.Command, metadata *config.StepData, stepName strin
}
}

if fmt.Sprintf("%v", stepConfig.Config["collectTelemetryData"]) == "false" {
GeneralConfig.NoTelemetry = true
}
// disables telemetry reporting in go
// follow-up cleanup needed
GeneralConfig.NoTelemetry = true

stepConfig.Config = checkTypes(stepConfig.Config, options)
confJSON, _ := json.Marshal(stepConfig.Config)
Expand Down
2 changes: 1 addition & 1 deletion resources/default_pipeline_environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#Project Setup
general:
collectTelemetryData: true
collectTelemetryData: false
logFormat: 'plain'
changeManagement:
type: 'NONE' # SOLMAN, CTS, NONE
Expand Down

0 comments on commit d0e205d

Please sign in to comment.