Make it possible to disable uploading of results
This commit is contained in:
@@ -128,7 +128,7 @@ func (c *Controller) Init(nt *mk.Nettest) error {
|
||||
ProbeIP: c.Ctx.Location.IP,
|
||||
|
||||
DisableReportFile: false,
|
||||
DisableCollector: false,
|
||||
DisableCollector: !c.Ctx.Config.Sharing.UploadResults,
|
||||
RandomizeInput: false, // It's important to disable input randomization to ensure the URLs are written in sync to the DB
|
||||
SoftwareName: "ooniprobe",
|
||||
SoftwareVersion: ooni.Version,
|
||||
|
||||
Reference in New Issue
Block a user