Skip to content

rename ssl_insecure to validate_cert #14

rename ssl_insecure to validate_cert

rename ssl_insecure to validate_cert #14

Triggered via pull request October 16, 2023 11:02
Status Failure
Total duration 1m 37s
Artifacts

terraform-ci.yml

on: pull_request
Check Go formatting, linting, vetting using golangci-lint
13s
Check Go formatting, linting, vetting using golangci-lint
Check for forbidden words
14s
Check for forbidden words
Build
35s
Build
Generate
53s
Generate
Malware Scanner
1m 25s
Malware Scanner
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 1 warning
Check Go formatting, linting, vetting using golangci-lint: redfish/models/provider.go#L14
File is not `gofmt`-ed with `-s` (gofmt)
Check Go formatting, linting, vetting using golangci-lint: redfish/models/provider.go#L7
exported: comment on exported type ProviderConfig should be of the form "ProviderConfig ..." (with optional leading article) (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/models/provider.go#L13
exported: exported type RedfishServer should have comment or be unexported (revive)
Check Go formatting, linting, vetting using golangci-lint: redfish/models/power.go#L7
exported: exported type Power should have comment or be unexported (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L64
add-constant: avoid magic numbers like '200', create a named constant for it (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L24
argument-limit: maximum number of arguments per function exceeded; max 3 but got 4 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L31
line-length-limit: line is 190 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L40
line-length-limit: line is 106 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L42
line-length-limit: line is 106 characters, out of limit 100 (revive)
Check Go formatting, linting, vetting using golangci-lint: common/job_management.go#L65
line-length-limit: line is 101 characters, out of limit 100 (revive)
Generate
Process completed with exit code 1.
Check Go formatting, linting, vetting using golangci-lint: redfish/provider/provider.go#L95
unused-receiver: method receiver 'p' is not referenced in method's body, consider removing or renaming it as _ (revive)