feat(source): implement write key validation #558
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
ST1003: struct field HttpPort should be HTTPPort (stylecheck)
|
build:
manager/config.go#L16
var-naming: struct field HttpPort should be HTTPPort (revive)
|
build:
manager/delivery/grpcserver/route.go#L39
return with no blank line before (nlreturn)
|
build:
manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L20
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
build:
manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L23
error is not nil (line 21) but it returns nil (nilerr)
|
build:
manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L23
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
|
build:
manager/delivery/grpcserver/sourcehandler/writekey_validation.go#L25
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
|