diff --git a/syft/internal/fileresolver/directory.go b/syft/internal/fileresolver/directory.go index 7a53b14bb..ec529a136 100644 --- a/syft/internal/fileresolver/directory.go +++ b/syft/internal/fileresolver/directory.go @@ -173,12 +173,12 @@ loop: }) } - d.chroot = r.chroot + d.Chroot = r.Chroot d.realPath = currentArchivePath.realPath d.accessPath = currentArchivePath.accessPath d.archiveRealPath = archiveDestinationPath - r.archives = append(r.archives, &d.filetreeResolver) + r.archives = append(r.archives, &d.FiletreeResolver) } return nil