[Optimization] Optimize package tracing by only calling SCALIBR on inventories whose file location is found in the underlying layer of a chain layer (the layer only has files found in the layer, whereas the chain layer has files found in all previous layers). #2286
go.yml
on: pull_request
lint
17s
lint-just-new
17s
Matrix: tests
Annotations
4 errors
lint:
artifact/image/layerscanning/trace/trace.go#L130
ineffectual assignment to oldInventory (ineffassign)
|
lint:
common/linux/proc/process_linux.go#L97
error is not nil (line 95) but it returns nil (nilerr)
|
lint:
common/linux/proc/process_linux.go#L140
error is not nil (line 139) but it returns nil (nilerr)
|
lint
issues found
|