Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GoliathLabs committed Nov 30, 2024
1 parent 66ac355 commit 8fa3c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/dnsproxy/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (d *DNSProxy) Lookup(m *dns.Msg) (*dns.Msg, error) {
}
}
if response == nil {
return nil, firstErr
return nil, fmt.Errorf("no response from upstream servers")

Check failure on line 98 in internal/dnsproxy/proxy.go

View workflow job for this annotation

GitHub Actions / Go 1.23 tests

undefined: fmt

Check failure on line 98 in internal/dnsproxy/proxy.go

View workflow job for this annotation

GitHub Actions / Golang-CI (lint)

undefined: fmt) (typecheck)

Check failure on line 98 in internal/dnsproxy/proxy.go

View workflow job for this annotation

GitHub Actions / Golang-CI (lint)

undefined: fmt (typecheck)
}

if len(response.Answer) > 0 {
Expand Down

0 comments on commit 8fa3c91

Please sign in to comment.