Skip to content

PROP-27 - Implement Registry proxy #13

PROP-27 - Implement Registry proxy

PROP-27 - Implement Registry proxy #13

Triggered via pull request December 11, 2024 12:11
Status Failure
Total duration 1m 1s
Artifacts

ci.yml

on: pull_request
Lint and Build
49s
Lint and Build
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
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/config/http.go#L17
tag is not aligned, should be: env:"REGISTRY_URL" envDefault:"localhost:5000" (tagalign)
Lint and Build: proxy/config/http.go#L18
tag is not aligned, should be: env:"AUTHENTICATE" envDefault:"false" (tagalign)
Lint and Build: proxy/config/http.go#L19
tag is not aligned, should be: env:"USERNAME" envDefault:"" (tagalign)
Lint and Build: proxy/config/http.go#L20
tag is not aligned, should be: env:"PASSWORD" envDefault:"" (tagalign)
Lint and Build: proxy/config/mqtt.go#L8
tag is not aligned, should be: env:"BROKER_URL" json:"broker_url" (tagalign)
Lint and Build: proxy/config/mqtt.go#L9
tag is not aligned, should be: env:"PASSWORD" json:"password" (tagalign)
Lint and Build: proxy/config/mqtt.go#L10
tag is not aligned, should be: env:"PROPLET_ID" json:"proplet_id" (tagalign)
Lint and Build: proxy/config/mqtt.go#L11
tag is not aligned, should be: env:"CHANNEL_ID" json:"channel_id" (tagalign)
Lint and Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636