PROP-27 - Implement Registry proxy #12
Annotations
10 errors and 1 warning
Lint and Build:
proxy/config/mqtt.go#L8
tag is not aligned, should be: env:"BROKER_URL" envDefault:"" (tagalign)
|
Lint and Build:
proxy/config/mqtt.go#L9
tag is not aligned, should be: env:"PASSWORD" envDefault:"" (tagalign)
|
Lint and Build:
proxy/config/mqtt.go#L10
tag is not aligned, should be: env:"PROPLET_ID" envDefault:"" (tagalign)
|
Lint and Build:
proxy/config/mqtt.go#L11
tag is not aligned, should be: env:"CHANNEL_ID" envDefault:"" (tagalign)
|
Lint and Build:
cmd/proxy/main.go#L72
Error return value of `(*github.com/absmach/propeller/proxy/mqtt.RegistryClient).Disconnect` is not checked (errcheck)
|
Lint and Build:
cmd/proxy/main.go#L40
exitAfterDefer: os.Exit will exit, and `defer cancel()` will not run (gocritic)
|
Lint and Build:
proxy/mqtt/mqtt.go#L27
Magic number: 10, in <argument> detected (mnd)
|
Lint and Build:
proxy/mqtt/mqtt.go#L117
Magic number: 250, in <argument> detected (mnd)
|
Lint and Build:
cmd/proxy/main.go#L67
Magic number: 2, in <argument> detected (mnd)
|
Lint and Build:
proxy/mqtt/mqtt.go#L75
return with no blank line before (nlreturn)
|
Lint and Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|