fix(dnscheck): log "ok" rather than "<nil>" on success (#695)
See https://github.com/ooni/probe/issues/2020
This commit is contained in:
parent
88236a4352
commit
6a63f1b044
5 changed files with 33 additions and 2 deletions
|
|
@ -68,6 +68,9 @@ run `go mod tidy` to minimize such changes.
|
|||
- use `./internal/netxlite.ReadAllContext` instead of `io.ReadAll`
|
||||
and `./internal/netxlite.CopyContext` instead of `io.Copy`
|
||||
|
||||
- use `./internal/model.ErrorToStringOrOK` when
|
||||
an experiment logs intermediate results
|
||||
|
||||
## Code testing requirements
|
||||
|
||||
Make sure all tests pass with `go test -race ./...` run from the
|
||||
|
|
|
|||
Loading…
Reference in a new issue