diff --git a/Dockerfile b/Dockerfile index 8f1ae7b0..1ceeda78 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ ARG ALPINE_VERSION=3.16 ARG GO_ALPINE_VERSION=3.16 -ARG GO_VERSION=1.17 +ARG GO_VERSION=1.18 ARG XCPUTRANSLATE_VERSION=v0.6.0 ARG GOLANGCI_LINT_VERSION=v1.49.0 ARG MOCKGEN_VERSION=v1.6.0 diff --git a/go.mod b/go.mod index c7950843..345f317b 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/qdm12/gluetun -go 1.17 +go 1.18 require ( github.com/breml/rootcerts v0.2.6 diff --git a/internal/provider/privateinternetaccess/httpclient_test.go b/internal/provider/privateinternetaccess/httpclient_test.go index 4ee2daca..638b581b 100644 --- a/internal/provider/privateinternetaccess/httpclient_test.go +++ b/internal/provider/privateinternetaccess/httpclient_test.go @@ -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 {