cleanup(ooniprobe): remove unused send_crash_report option (#578)

Closes https://github.com/ooni/probe/issues/1766
This commit is contained in:
Simone Basso
2021-11-05 13:26:08 +01:00
committed by GitHub
parent 8dd051ead0
commit 5b8f4546f3
6 changed files with 4 additions and 14 deletions
@@ -122,7 +122,6 @@ func Onboarding(config *config.Config) error {
config.Lock()
config.InformedConsent = true
config.Advanced.SendCrashReports = settings.SendCrashReports
config.Sharing.UploadResults = settings.UploadResults
config.Unlock()
+1 -3
View File
@@ -6,9 +6,7 @@ type Sharing struct {
}
// Advanced settings
type Advanced struct {
SendCrashReports bool `json:"send_crash_reports"`
}
type Advanced struct{}
// Nettests related settings
type Nettests struct {
@@ -8,6 +8,5 @@
"websites_max_runtime": 0
},
"advanced": {
"send_crash_reports": true
}
}
@@ -7,7 +7,5 @@
"nettests": {
"websites_max_runtime": 0
},
"advanced": {
"send_crash_reports": true
}
"advanced": {}
}
+1 -3
View File
@@ -7,7 +7,5 @@
"nettests": {
"websites_max_runtime": 15
},
"advanced": {
"send_crash_reports": true
}
"advanced": {}
}