Skip to content

Endpoint for claiming gateways using a qr code #6386

Endpoint for claiming gateways using a qr code

Endpoint for claiming gateways using a qr code #6386

Triggered via pull request September 4, 2024 13:13
Status Failure
Total duration 8m 32s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Code Quality: pkg/qrcodegenerator/qrcodegenerator.go#L107
Error return value of `ttnpb.RegisterGatewayQRCodeGeneratorHandler` is not checked (errcheck)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/ttigpro1.go#L38
Comment should end in a period (godot)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/gateways.go#L58
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/ttigpro1.go#L63
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
Code Quality: pkg/qrcodegenerator/grpc_gateways_test.go#L25
dot-imports: should not use dot imports (revive)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/gateways_test.go#L23
dot-imports: should not use dot imports (revive)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/ttigpro1.go#L72
unnecessary conversion (unconvert)
Code Quality: pkg/qrcodegenerator/grpc_gateways_test.go#L32
Function TestGatewayQRCodeParsing missing the call to method parallel (paralleltest)
Code Quality: pkg/qrcodegenerator/grpc_gateways_test.go#L48
Range statement for test TestGatewayQRCodeParsing missing the call to method parallel in test Run (paralleltest)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/ttigpro1_test.go#L26
Function TestTTIGPRO1 missing the call to method parallel (paralleltest)
Code Quality
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2