Skip to content

feat: Update SIF from ImageIndex #115

feat: Update SIF from ImageIndex

feat: Update SIF from ImageIndex #115

Triggered via pull request June 21, 2024 15:17
@dtrudgdtrudg
synchronize #62
dtrudg:issue-48
Status Failure
Total duration 39s
Artifacts

style.yaml

on: pull_request
Lint Markdown
6s
Lint Markdown
Lint Source
28s
Lint Source
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Lint Source: pkg/sif/update.go#L139
Error return value of `f.writeBlobToFileImage` is not checked (errcheck)
Lint Source: pkg/sif/update.go#L278
Error return value is not checked (errcheck)
Lint Source: pkg/sif/update.go#L172
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#L179
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