Skip to content

feat: Update SIF from ImageIndex #114

feat: Update SIF from ImageIndex

feat: Update SIF from ImageIndex #114

Triggered via pull request June 21, 2024 15:08
Status Failure
Total duration 35s
Artifacts

style.yaml

on: pull_request
Lint Markdown
5s
Lint Markdown
Lint Source
24s
Lint Source
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Lint Source: pkg/sif/update.go#L122
Error return value of `f.writeBlobToFileImage` is not checked (errcheck)
Lint Source: pkg/sif/update.go#L261
Error return value is not checked (errcheck)
Lint Source: pkg/sif/update.go#L155
cognitive complexity 44 of func `cacheIndexBlobs` is high (> 30) (gocognit)
Lint Source: pkg/sif/update.go#L20
Comment should end in a period (godot)
Lint Source: pkg/sif/update.go#L162
missing cases in switch of type types.MediaType: types.OCIContentDescriptor, types.OCIConfigJSON, types.OCILayer, types.OCILayerZStd, types.OCIRestrictedLayer, types.OCIUncompressedLayer, types.OCIUncompressedRestrictedLayer, types.DockerManifestSchema1, types.DockerManifestSchema1Signed, types.DockerLayer, types.DockerConfigJSON, types.DockerPluginConfig, types.DockerForeignLayer, types.DockerUncompressedLayer (exhaustive)
Lint Source
issues found