refactor(ooni): introduce interfaces for testability
This commit is contained in:
parent
c55f67273e
commit
fa803300bb
13 changed files with 129 additions and 70 deletions
|
|
@ -57,7 +57,7 @@ func init() {
|
|||
return nil, err
|
||||
}
|
||||
if *isBatch {
|
||||
probe.IsBatch = true
|
||||
probe.SetIsBatch(true)
|
||||
}
|
||||
|
||||
return probe, nil
|
||||
|
|
|
|||
Loading…
Reference in a new issue