Make it possible to disable uploading of results

This commit is contained in:
Arturo Filastò
2018-09-17 11:51:54 +02:00
parent 867204adfb
commit 5cae6b0b83
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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,