Skip to content

Prioritize gateway's field contacts over Contact Info list #5595

Prioritize gateway's field contacts over Contact Info list

Prioritize gateway's field contacts over Contact Info list #5595

Triggered via pull request August 14, 2023 20:37
Status Failure
Total duration 11m 33s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 3 warnings
Code Quality: pkg/packetbrokeragent/agent_test.go#L87
Error return value of `(*go.thethings.network/lorawan-stack/v3/pkg/identityserver/mock.mockISUserRegistry).Create` is not checked (errcheck)
Code Quality: pkg/packetbrokeragent/agent_test.go#L90
Error return value of `(*go.thethings.network/lorawan-stack/v3/pkg/identityserver/mock.mockISUserRegistry).Create` is not checked (errcheck)
Code Quality: pkg/packetbrokeragent/agent_test.go#L93
Error return value of `(*go.thethings.network/lorawan-stack/v3/pkg/identityserver/mock.mockISOrganizationRegistry).Create` is not checked (errcheck)
Code Quality: pkg/packetbrokeragent/grpc_gspba.go#L109
cyclomatic complexity 32 of func `(*gsPbaServer).UpdateGateway` is high (> 20) (gocyclo)
Code Quality: pkg/packetbrokeragent/is.go#L28
Sentence should start with a capital letter (godot)
Code Quality: pkg/packetbrokeragent/is.go#L15
ST1000: at least one file in a package should have a package comment (stylecheck)
Code Quality
issues found
Code Quality: pkg/identityserver/mock/mock.go#L105
unexported-return: exported method OrganizationRegistry returns unexported type *mockis.mockISOrganizationRegistry, which can be annoying to use (revive)
Code Quality: pkg/identityserver/mock/mock.go#L110
unexported-return: exported method UserRegistry returns unexported type *mockis.mockISUserRegistry, which can be annoying to use (revive)
Code Quality: pkg/packetbrokeragent/grpc_gspba.go#L182
empty-lines: extra empty line at the end of a block (revive)