refactor(inputloader): better docs and naming (#265)
* refactor(inputloader): better docs and naming Work done as part of https://github.com/ooni/probe/issues/1299. * fix: correct a typo
This commit is contained in:
parent
c94721d9e5
commit
0115d6c470
9 changed files with 59 additions and 35 deletions
|
|
@ -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.InputOrQueryTestLists,
|
||||
InputPolicy: engine.InputOrQueryBackend,
|
||||
Session: ctl.Session,
|
||||
SourceFiles: ctl.InputFiles,
|
||||
StaticInputs: ctl.Inputs,
|
||||
|
|
|
|||
Loading…
Reference in a new issue