Query endpoint #4667
Annotations
10 errors and 1 warning
Run golangci linting checks:
catalogd/internal/storage/localdir_test.go#L202
Error return value of `os.Chmod` is not checked (errcheck)
|
Run golangci linting checks:
catalogd/internal/storage/localdir_test.go#L23
var `ctx` is unused (unused)
|
Run golangci linting checks:
catalogd/internal/storage/multireadseeker.go#L49
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci linting checks:
catalogd/internal/storage/index.go#L71
`if schema == ""` has complex nested blocks (complexity: 17) (nestif)
|
Run golangci linting checks:
catalogd/internal/storage/multireadseeker.go#L66
`if len(rs) == 1` has complex nested blocks (complexity: 5) (nestif)
|
Run golangci linting checks:
catalogd/internal/storage/multireadseeker.go#L36
named return "n" with type "int" found (nonamedreturns)
|
Run golangci linting checks:
catalogd/internal/storage/multireadseeker.go#L91
named return "n" with type "int" found (nonamedreturns)
|
Run golangci linting checks:
catalogd/internal/storage/localdir.go#L63
Consider pre-allocating `metaChans` (prealloc)
|
Run golangci linting checks:
catalogd/internal/storage/multireadseeker.go#L18
SA1019: os.SEEK_SET has been deprecated since Go 1.7: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (staticcheck)
|
Run golangci linting checks:
catalogd/internal/storage/multireadseeker.go#L21
SA1019: os.SEEK_SET has been deprecated since Go 1.7: Use io.SeekStart, io.SeekCurrent, and io.SeekEnd. (staticcheck)
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading