fix(webconnectivity@v0.5): avoid confusing log message (#954)

It's confusing to see

```
measuring additional addrs from TH: []
```

when actually nothing is going to be measured.

So, instead, let us log about the additional addrs
discovered by the TH instead, which is less confusing.

Part of https://github.com/ooni/probe/issues/2237
This commit is contained in:
Simone Basso 2022-09-12 11:03:55 +02:00 committed by GitHub
parent b10eea47e7
commit f77474a91a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ func (c *Control) maybeStartExtraMeasurements(ctx context.Context, thAddrs []str
thOnlyAddrs = append(thOnlyAddrs, addr)
}
c.Logger.Infof("measuring additional addrs from TH: %+v", thOnlyAddrs)
c.Logger.Infof("additional addrs discovered by the TH: %+v", thOnlyAddrs)
var thOnly []DNSEntry
for _, addr := range thOnlyAddrs {