Skip to content

feat:add consul && client && server &&config watch #5

feat:add consul && client && server &&config watch

feat:add consul && client && server &&config watch #5

Triggered via pull request January 15, 2024 17:54
@hiahia12hiahia12
synchronize #1
hiahia12:main
Status Failure
Total duration 3m 56s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
staticcheck: consul/consul.go#L202
[staticcheck] reported by reviewdog 🐶 this value of err is never used Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"this value of err is never used","code":{"value":"SA4006","url":"https://staticcheck.io/docs/checks#SA4006"},"location":{"path":"/data00/runner/kitex-contrib-hl-runner-02/config-consul/config-consul/consul/consul.go","range":{"start":{"line":202,"column":3}}},"severity":"ERROR"}
staticcheck: consul/consul.go#L221
[staticcheck] reported by reviewdog 🐶 possible nil pointer dereference Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"possible nil pointer dereference","code":{"value":"SA5011","url":"https://staticcheck.io/docs/checks#SA5011"},"location":{"path":"/data00/runner/kitex-contrib-hl-runner-02/config-consul/config-consul/consul/consul.go","range":{"start":{"line":221,"column":5}}},"severity":"ERROR"}
staticcheck: consul/consul.go#L237
[staticcheck] reported by reviewdog 🐶 should use for range instead of for { select {} } Raw Output: {"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"should use for range instead of for { select {} }","code":{"value":"S1000","url":"https://staticcheck.io/docs/checks#S1000"},"location":{"path":"/data00/runner/kitex-contrib-hl-runner-02/config-consul/config-consul/consul/consul.go","range":{"start":{"line":237,"column":3}}},"severity":"ERROR"}
staticcheck
Process completed with exit code 1.
compliant
Process completed with exit code 1.
lint: consul/consul.go#L19
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: consul/consul.go#L24
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: consul/consul.go#L109
File is not `gofumpt`-ed with `-extra` (gofumpt)
lint: consul/consul.go#L237
S1000: should use for range instead of for { select {} } (gosimple)
lint
issues found
compliant
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.