Skip to content

api: New API with health endpoint #454

api: New API with health endpoint

api: New API with health endpoint #454

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

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: pkg/cli/cli.go#L101
Error return value is not checked (errcheck)
lint: conduit/data/config.go#L59
exported: exported type API should have comment or be unexported (revive)
lint: conduit/pipeline/pipeline.go#L44
exported: exported type Status should have comment or be unexported (revive)
lint: api/api.go#L15
exported: exported type StatusProvider should have comment or be unexported (revive)
lint: api/api.go#L33
exported: exported function StartServer should have comment or be unexported (revive)
lint: api/api.go#L29
SA1006: printf-style function with dynamic format string and no further arguments should use print-style function instead (staticcheck)
lint: pkg/cli/cli.go#L101
[Lint Errors] reported by reviewdog 🐶 Error return value is not checked (errcheck) Raw Output: pkg/cli/cli.go:101:17: Error return value is not checked (errcheck) defer shutdown(context.Background()) ^
lint: conduit/data/config.go#L59
[Lint Errors] reported by reviewdog 🐶 exported: exported type API should have comment or be unexported (revive) Raw Output: conduit/data/config.go:59:6: exported: exported type API should have comment or be unexported (revive) type API struct { ^
lint: conduit/pipeline/pipeline.go#L44
[Lint Errors] reported by reviewdog 🐶 exported: exported type Status should have comment or be unexported (revive) Raw Output: conduit/pipeline/pipeline.go:44:6: exported: exported type Status should have comment or be unexported (revive) type Status struct { ^
lint: api/api.go#L15
[Lint Errors] reported by reviewdog 🐶 exported: exported type StatusProvider should have comment or be unexported (revive) Raw Output: api/api.go:15:6: exported: exported type StatusProvider should have comment or be unexported (revive) type StatusProvider interface { ^