⚠ (feat) Introduce new feature-gated metas endpoint #4736
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#L364
named return "t" with type "time.Time" found (nonamedreturns)
|
|
lint:
catalogd/internal/storage/localdir.go#L60
Consider pre-allocating `metaChans` (prealloc)
|
|
lint:
catalogd/internal/storage/localdir.go#L279
ST1003: func serveJsonLines should be serveJSONLines (stylecheck)
|
|
lint:
catalogd/internal/storage/localdir.go#L284
ST1003: func serveJsonLinesQuery should be serveJSONLinesQuery (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)
|