Skip to content

LoRaWAN Relay implementation #5843

LoRaWAN Relay implementation

LoRaWAN Relay implementation #5843

Triggered via pull request November 2, 2023 09:31
Status Failure
Total duration 14m 40s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Code Quality: pkg/ttnpb/end_device.go#L102
string `reload_rate` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L88
string `serving_device_id` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L160
string `cad_periodicity` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L100
string `bucket_size` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L68
string `backoff` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L158
string `default_channel_index` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L128
string `uplink_messages` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L122
string `notifications` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L80
string `second_channel` has 14 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/end_device.go#L164
string `limits` has 7 occurrences, make it a constant (goconst)
Code Quality: pkg/ttnpb/lorawan.go#L1222
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)
Code Quality: pkg/ttnpb/lorawan.go#L1234
unnecessary-stmt: switch with only one case can be replaced by an if-then (revive)