chore(build): bump Go from 1.17 to 1.18

- Unneeded disabled linters are: `rowserrcheck`, `sqlclosecheck`
- Disabled linter is `wastedassign` which is tolerable
This commit is contained in:
Quentin McGaw
2022-08-24 21:52:00 +00:00
parent aa53436e56
commit 5914cb0e37
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ func Test_newHTTPClient(t *testing.T) {
piaTransport, ok := piaClient.Transport.(*http.Transport)
require.True(t, ok)
subjects := piaTransport.TLSClientConfig.RootCAs.Subjects()
subjects := piaTransport.TLSClientConfig.RootCAs.Subjects() //nolint:staticcheck
assert.NotEmpty(t, subjects)
piaCertFound := false
for _, subject := range subjects {