Skip to content

lint fix

lint fix #1641

Triggered via push December 16, 2024 14:25
Status Failure
Total duration 1m 43s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
tests: nutanix/services/prismv2/resource_nutanix_backup_target_v2.go#L118
mnd: Magic number: 60, in <argument> detected (gomnd)
tests: nutanix/services/prismv2/resource_nutanix_backup_target_v2.go#L308
shadow: declaration of "err" shadows declaration at line 280 (govet)
tests: nutanix/services/prismv2/resource_nutanix_backup_target_v2.go#L322
shadow: declaration of "err" shadows declaration at line 280 (govet)
tests: nutanix/services/prismv2/data_source_backup_targets_v2.go#L53
S1009: should omit nil check; len() for nil slices is defined as zero (gosimple)
tests: nutanix/services/prismv2/resource_nutanix_backup_target_v2.go#L425
S1009: should omit nil check; len() for nil slices is defined as zero (gosimple)
tests
Process completed with exit code 2.
tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636