Skip to content

fix: parseImageRef tag parsing (#2411) #4854

fix: parseImageRef tag parsing (#2411)

fix: parseImageRef tag parsing (#2411) #4854

Re-run triggered February 3, 2025 06:00
Status Failure
Total duration 3m 8s
Artifacts

build.yaml

on: pull_request
Run Operator envtest
0s
Run Operator envtest
Run integration tests
0s
Run integration tests
Run end to end testing
0s
Run end to end testing
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Verify code: pkg/plugins/trivy/plugin.go#L261
emptyStringTest: replace `len(artifact.Digest) == 0` with `artifact.Digest == ""` (gocritic)
Verify code: pkg/plugins/trivy/plugin.go#L216
paramTypeCombine: func(imageRef string, imageDigest string) (v1alpha1.Registry, v1alpha1.Artifact, error) could be replaced with func(imageRef, imageDigest string) (v1alpha1.Registry, v1alpha1.Artifact, error) (gocritic)
Verify code: pkg/plugins/trivy/plugin_test.go#L7692
fmt.Errorf can be replaced with errors.New (perfsprint)
Verify code: pkg/plugins/trivy/plugin_test.go#L7869
require-error: for error assertions use require (testifylint)
Verify code
issues found