Endpoint for claiming gateways using a qr code #6387
go.yml
on: pull_request
Code Quality
5m 42s
Tests
8m 32s
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
|