refactor: move quic dns dialing to netxlite (#408)
Part of https://github.com/ooni/probe/issues/1505
This commit is contained in:
parent
a4d61a4be4
commit
f1f5ed342e
8 changed files with 152 additions and 223 deletions
|
|
@ -7,7 +7,7 @@ import (
|
|||
"github.com/ooni/probe-cli/v3/internal/engine/netx/errorx"
|
||||
)
|
||||
|
||||
// ReduceErrors finds a known error in a list of errors since
|
||||
// reduceErrors finds a known error in a list of errors since
|
||||
// it's probably most relevant.
|
||||
//
|
||||
// Deprecation warning
|
||||
|
|
@ -16,7 +16,7 @@ import (
|
|||
//
|
||||
// In perspective, we would like to transition to a scenario where
|
||||
// full dialing is NOT used for measurements and we return a multierror here.
|
||||
func ReduceErrors(errorslist []error) error {
|
||||
func reduceErrors(errorslist []error) error {
|
||||
if len(errorslist) == 0 {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue