refactor: move quic dns dialing to netxlite (#408)

Part of https://github.com/ooni/probe/issues/1505
This commit is contained in:
Simone Basso 2021-06-25 18:38:13 +02:00 committed by GitHub
commit f1f5ed342e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 152 additions and 223 deletions

View file

@ -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
}