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.Lock()
|
||||||
config.InformedConsent = true
|
config.InformedConsent = true
|
||||||
config.Advanced.SendCrashReports = settings.SendCrashReports
|
|
||||||
config.Sharing.UploadResults = settings.UploadResults
|
config.Sharing.UploadResults = settings.UploadResults
|
||||||
config.Unlock()
|
config.Unlock()
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,7 @@ type Sharing struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Advanced settings
|
// Advanced settings
|
||||||
type Advanced struct {
|
type Advanced struct{}
|
||||||
SendCrashReports bool `json:"send_crash_reports"`
|
|
||||||
}
|
|
||||||
|
|
||||||
// Nettests related settings
|
// Nettests related settings
|
||||||
type Nettests struct {
|
type Nettests struct {
|
||||||
|
|
|
@ -8,6 +8,5 @@
|
||||||
"websites_max_runtime": 0
|
"websites_max_runtime": 0
|
||||||
},
|
},
|
||||||
"advanced": {
|
"advanced": {
|
||||||
"send_crash_reports": true
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,7 +7,5 @@
|
||||||
"nettests": {
|
"nettests": {
|
||||||
"websites_max_runtime": 0
|
"websites_max_runtime": 0
|
||||||
},
|
},
|
||||||
"advanced": {
|
"advanced": {}
|
||||||
"send_crash_reports": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
4
cmd/ooniprobe/testdata/testing-config.json
vendored
4
cmd/ooniprobe/testdata/testing-config.json
vendored
|
@ -7,7 +7,5 @@
|
||||||
"nettests": {
|
"nettests": {
|
||||||
"websites_max_runtime": 15
|
"websites_max_runtime": 15
|
||||||
},
|
},
|
||||||
"advanced": {
|
"advanced": {}
|
||||||
"send_crash_reports": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
4
debian/ooniprobe.conf.disabled
vendored
4
debian/ooniprobe.conf.disabled
vendored
|
@ -9,7 +9,5 @@
|
||||||
"websites_max_runtime": 0,
|
"websites_max_runtime": 0,
|
||||||
"websites_enabled_category_codes": null
|
"websites_enabled_category_codes": null
|
||||||
},
|
},
|
||||||
"advanced": {
|
"advanced": {}
|
||||||
"send_crash_reports": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user