Skip to content

CI pipeline for PR - (#134) Update golangci-lint used in CI to 1.60 #335

CI pipeline for PR - (#134) Update golangci-lint used in CI to 1.60

CI pipeline for PR - (#134) Update golangci-lint used in CI to 1.60 #335

Triggered via pull request August 16, 2024 06:36
Status Failure
Total duration 1m 26s
Billable time 3m
Artifacts 1

pr_ci.yml

on: pull_request
Continuous integration
56s
Continuous integration
Generate code
7s
Generate code
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint: pkg/translate/structs.go#L135
S1009: should omit nil check; len() for []*github.com/paloaltonetworks/pan-os-codegen/pkg/properties.SpecParamProfile is defined as zero (gosimple)
lint: pkg/translate/structs.go#L144
S1009: should omit nil check; len() for []*github.com/paloaltonetworks/pan-os-codegen/pkg/properties.SpecParamProfile is defined as zero (gosimple)
lint: pkg/properties/normalized.go#L332
variable min has same name as predeclared identifier (predeclared)
lint: pkg/properties/normalized.go#L333
variable max has same name as predeclared identifier (predeclared)
lint: pkg/properties/normalized.go#L396
variable min has same name as predeclared identifier (predeclared)
lint: pkg/properties/normalized.go#L397
variable max has same name as predeclared identifier (predeclared)
lint: pkg/properties/normalized.go#L403
variable min has same name as predeclared identifier (predeclared)
lint: pkg/properties/normalized.go#L404
variable max has same name as predeclared identifier (predeclared)
lint
issues found

Artifacts

Produced during runtime
Name Size
generated-pango Expired
144 KB