⚠ (feat) Introduce new feature-gated metas endpoint #4730
Annotations
10 errors
|
lint:
catalogd/internal/serverutil/serverutil_test.go#L237
Error return value of `w.Write` is not checked (errcheck)
|
|
lint:
catalogd/internal/storage/localdir_test.go#L347
response body must be closed (bodyclose)
|
|
lint:
catalogd/internal/storage/localdir_test.go#L487
response body must be closed (bodyclose)
|
|
lint:
catalogd/internal/storage/index.go#L71
`if schema == ""` has complex nested blocks (complexity: 17) (nestif)
|
|
lint:
catalogd/internal/storage/localdir.go#L61
Consider pre-allocating `metaChans` (prealloc)
|
|
lint:
catalogd/internal/storage/localdir.go#L270
ST1003: func serveJsonLines should be serveJSONLines (stylecheck)
|
|
lint:
catalogd/internal/storage/localdir_test.go#L412
expected-actual: need to reverse actual and expected values (testifylint)
|
|
lint:
catalogd/internal/storage/index.go#L109
newIndex - result 1 (error) is always nil (unparam)
|
|
lint:
catalogd/internal/serverutil/serverutil.go#L97
unnecessary leading newline (whitespace)
|
|
lint:
catalogd/internal/serverutil/serverutil.go#L107
unnecessary trailing newline (whitespace)
|