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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 4 additions and 14 deletions

View File

@ -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()

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 {

View File

@ -8,6 +8,5 @@
"websites_max_runtime": 0
},
"advanced": {
"send_crash_reports": true
}
}

View File

@ -7,7 +7,5 @@
"nettests": {
"websites_max_runtime": 0
},
"advanced": {
"send_crash_reports": true
}
"advanced": {}
}

View File

@ -7,7 +7,5 @@
"nettests": {
"websites_max_runtime": 15
},
"advanced": {
"send_crash_reports": true
}
"advanced": {}
}

View File

@ -9,7 +9,5 @@
"websites_max_runtime": 0,
"websites_enabled_category_codes": null
},
"advanced": {
"send_crash_reports": true
}
"advanced": {}
}