Skip to content

Endpoint for claiming gateways using a qr code #6387

Endpoint for claiming gateways using a qr code

Endpoint for claiming gateways using a qr code #6387

Triggered via pull request September 4, 2024 14:05
Status Failure
Total duration 8m 43s
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/grpc_gateways_test.go#L27
Comment should end in a period (godot)
Code Quality: pkg/qrcodegenerator/grpc_gateways_test.go#L34
Function TestGatewayQRCodeParsing missing the call to method parallel (paralleltest)
Code Quality: pkg/qrcodegenerator/grpc_gateways_test.go#L53
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: pkg/qrcodegenerator/qrcode/gateways/ttigpro1_test.go#L28
Function TestTTIGPRO1 missing the call to method parallel in the test run (paralleltest)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/ttigpro1_test.go#L90
Function TestTTIGPRO1 missing the call to method parallel in the test run (paralleltest)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/gateways_test.go#L28
Function TestParseGatewaysAuthenticationCodes missing the call to method parallel (paralleltest)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/gateways_test.go#L30
Range statement for test TestParseGatewaysAuthenticationCodes missing the call to method parallel in test Run (paralleltest)
Code Quality: pkg/qrcodegenerator/qrcode/gateways/ttigpro1_test.go#L46
test helper function should start from t.Helper() (thelper)
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