feat: Update SIF from ImageIndex #114
style.yaml
on: pull_request
Lint Markdown
5s
Lint Source
24s
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
|