cleanup(ooniprobe): remove unused send_crash_report option (#578)
Closes https://github.com/ooni/probe/issues/1766
This commit is contained in:
parent
8dd051ead0
commit
5b8f4546f3
|
@ -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()
|
||||
|
||||
|
|
|
@ -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": {}
|
||||
}
|
||||
|
|
4
cmd/ooniprobe/testdata/testing-config.json
vendored
4
cmd/ooniprobe/testdata/testing-config.json
vendored
|
@ -7,7 +7,5 @@
|
|||
"nettests": {
|
||||
"websites_max_runtime": 15
|
||||
},
|
||||
"advanced": {
|
||||
"send_crash_reports": true
|
||||
}
|
||||
"advanced": {}
|
||||
}
|
||||
|
|
4
debian/ooniprobe.conf.disabled
vendored
4
debian/ooniprobe.conf.disabled
vendored
|
@ -9,7 +9,5 @@
|
|||
"websites_max_runtime": 0,
|
||||
"websites_enabled_category_codes": null
|
||||
},
|
||||
"advanced": {
|
||||
"send_crash_reports": true
|
||||
}
|
||||
"advanced": {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user