From a566625050afb4819dcd85695b93efcd27df6f18 Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Thu, 8 Feb 2024 13:04:41 +0100 Subject: [PATCH] x --- internal/webconnectivityalgo/dnswhoami.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/webconnectivityalgo/dnswhoami.go b/internal/webconnectivityalgo/dnswhoami.go index b8a10d7a9..4b9816812 100644 --- a/internal/webconnectivityalgo/dnswhoami.go +++ b/internal/webconnectivityalgo/dnswhoami.go @@ -12,7 +12,6 @@ import ( "sync" "time" - "github.com/ooni/probe-cli/v3/internal/logmodel" "github.com/ooni/probe-cli/v3/internal/model" "github.com/ooni/probe-cli/v3/internal/netxlite" "github.com/ooni/probe-cli/v3/internal/optional" @@ -136,7 +135,7 @@ func (svc *DNSWhoamiService) SystemV4(ctx context.Context) ([]DNSWhoamiInfoEntry func (svc *DNSWhoamiService) UDPv4(ctx context.Context, address string) ([]DNSWhoamiInfoEntry, bool) { spec := &dnsWhoamiResolverSpec{ name: address, - factory: func(logger logmodel.Logger, netx *netxlite.Netx) model.Resolver { + factory: func(logger model.Logger, netx *netxlite.Netx) model.Resolver { dialer := svc.netx.NewDialerWithResolver(svc.logger, svc.netx.NewStdlibResolver(svc.logger)) return svc.netx.NewParallelUDPResolver(svc.logger, dialer, address) },