Skip to content

Store(local dir) and Serve(http server) FBC #216

Store(local dir) and Serve(http server) FBC

Store(local dir) and Serve(http server) FBC #216

Triggered via pull request August 11, 2023 16:26
Status Failure
Total duration 1m 24s
Artifacts

sanity.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 2 warnings
lint: pkg/http_server/server.go#L24
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
lint
Process completed with exit code 2.
lint: pkg/http_server/server.go#L16
unexported-return: exported func NewServer returns unexported type httpserver.server, which can be annoying to use (revive)
lint: pkg/storage/storage.go#L34
if-return: redundant if ...; err != nil check, just return error instead. (revive)