mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
distro: add note to replace with MultipleFileContents in the future
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
507a6b69cb
commit
69a0376f99
@ -24,7 +24,7 @@ func Identify(img *image.Image) *Distro {
|
||||
}
|
||||
|
||||
for path, fn := range identityFiles {
|
||||
contents, err := img.FileContentsFromSquash(path)
|
||||
contents, err := img.FileContentsFromSquash(path) // TODO: this call replaced with "MultipleFileContents"
|
||||
|
||||
if err != nil {
|
||||
log.Debugf("unable to get contents from %s: %s", path, err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user