mirror of
https://github.com/safing/portmaster
synced 2025-09-10 06:14:41 +00:00
Update Go, deps and linter
This commit is contained in:
parent
44b5375bb4
commit
8cf882f4d4
22 changed files with 87 additions and 88 deletions
|
@ -90,7 +90,9 @@ func (hr *HTTPSResolver) Query(ctx context.Context, q *Query) (*RRCache, error)
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer resp.Body.Close()
|
||||
defer func() {
|
||||
_ = resp.Body.Close()
|
||||
}()
|
||||
|
||||
// Try to read the result
|
||||
body, err := ioutil.ReadAll(resp.Body)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue