Skip to content

feat(source): implement write key validation #564

feat(source): implement write key validation

feat(source): implement write key validation #564

Triggered via pull request December 17, 2024 21:43
Status Failure
Total duration 6m 7s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
build: cmd/manager/main.go#L68
unnamedResult: consider giving a name to these results (gocritic)
build: manager/config.go#L16
var-naming: struct field HttpPort should be HTTPPort (revive)
build: manager/config.go#L16
ST1003: struct field HttpPort should be HTTPPort (stylecheck)
build: manager/delivery/grpcserver/route.go#L40
return with no blank line before (nlreturn)
build: manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L21
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
build: manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L24
error is not nil (line 22) but it returns nil (nilerr)
build: manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L24
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
build: manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L26
return with no blank line before (nlreturn)
build: manager/repository/scyllarepo/scyllasource/get.go#L31
importShadow: shadow of imported from 'github.com/ormushq/ormus/contract/go/source' package 'source' (gocritic)
build: manager/service/sourceservice/getwritekey.go#L14
return with no blank line before (nlreturn)
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636