chore: modernize code #1284
Annotations
7 errors and 1 warning
golangci-lint:
internal/utils/testutils/socket_unix.go#L20
fmt.Errorf can be replaced with errors.New (perfsprint)
|
golangci-lint:
internal/openvpn/passthrough_test.go#L393
require-error: for error assertions use require (testifylint)
|
golangci-lint:
internal/openvpn/passthrough_test.go#L400
require-error: for error assertions use require (testifylint)
|
golangci-lint:
internal/openvpn/passthrough_test.go#L109
TestPassThroughFull's subtests should call t.Parallel (tparallel)
|
golangci-lint:
internal/utils/testutils/socket_unix.go#L14
error returned from external package is unwrapped: sig: func os.Stat(name string) (io/fs.FileInfo, error) (wrapcheck)
|
golangci-lint:
internal/utils/testutils/socket_unix.go#L29
error returned from external package is unwrapped: sig: func os.Stat(name string) (io/fs.FileInfo, error) (wrapcheck)
|
golangci-lint
issues found
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading