feat: Update SIF from ImageIndex #118
Annotations
8 errors
pkg/sif/update.go#L144
cognitive complexity 44 of func `cacheIndexBlobs` is high (> 30) (gocognit)
|
pkg/sif/update_test.go#L25
cognitive complexity 40 of func `TestUpdate` is high (> 30) (gocognit)
|
pkg/sif/update.go#L19
Comment should end in a period (godot)
|
pkg/sif/update.go#L151
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)
|
pkg/sif/update_test.go#L37
test helper function should start from t.Helper() (thelper)
|
pkg/sif/update_test.go#L60
test helper function should start from t.Helper() (thelper)
|
pkg/sif/update_test.go#L83
test helper function should start from t.Helper() (thelper)
|
|
This job failed
Loading