chore: update deps (probe-engine 0.22.0 et al.) (#190)

The CloseReport method is gone. We don't need to close reports
anymore with the new OONI backend.

The InputsRequired flags now is InputsOrQueryTestLists.
This commit is contained in:
Simone Basso
2021-01-13 00:25:25 +01:00
committed by GitHub
parent af4cbd1846
commit acfa429127
4 changed files with 26 additions and 25 deletions
-1
View File
@@ -106,7 +106,6 @@ func (c *Controller) Run(builder *engine.ExperimentBuilder, inputs []string) err
"%s: %s", color.RedString("failure.report_create"), err.Error(),
)
} else {
defer exp.CloseReport()
log.Debugf(color.RedString("status.report_create"))
reportID = sql.NullString{String: exp.ReportID(), Valid: true}
}
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func lookupURLs(ctl *Controller, limit int64, categories []string) ([]string, map[int64]int64, error) {
inputloader := engine.NewInputLoader(engine.InputLoaderConfig{
InputPolicy: engine.InputRequired,
InputPolicy: engine.InputOrQueryTestLists,
Session: ctl.Session,
SourceFiles: ctl.InputFiles,
StaticInputs: ctl.Inputs,