Skip to content

update hoststatus module #25

update hoststatus module

update hoststatus module #25

Triggered via push December 26, 2024 05:34
Status Failure
Total duration 6m 17s
Artifacts

lint-golang.yaml

on: push
Deduce required tests from code changes
4s
Deduce required tests from code changes
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 5 warnings
lint-golang: pkg/agent/config/config.go#L199
Error return value is not checked (errcheck)
lint-golang: pkg/agent/hoststatus/dhcp.go#L64
S1002: should omit comparison to bool constant, can be simplified to `!c.config.AgentObjSpec.Feature.DhcpServerConfig.EnableDhcpDiscovery` (gosimple)
lint-golang: pkg/agent/hoststatus/dhcp.go#L163
S1002: should omit comparison to bool constant, can be simplified to `!c.config.AgentObjSpec.Feature.DhcpServerConfig.EnableDhcpDiscovery` (gosimple)
lint-golang: pkg/redfish/getinfo.go#L26
S1023: redundant `return` statement (gosimple)
lint-golang: pkg/redfish/power.go#L76
ineffectual assignment to err (ineffassign)
lint-golang
issues found
Deduce required tests from code changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-code
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-code
Restore cache failed: Dependencies file is not found in /home/runner/work/bmc/bmc. Supported file pattern: go.sum
lint-golang
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint-golang
Restore cache failed: Dependencies file is not found in /home/runner/work/bmc/bmc. Supported file pattern: go.sum