mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 10:36:45 +01:00
fix: excessive go binary warnings (#1424)
This commit is contained in:
parent
3690f979b3
commit
b125ea83ba
@ -24,7 +24,7 @@ func scanFile(reader unionreader.UnionReader, filename string) ([]*debug.BuildIn
|
|||||||
for _, r := range readers {
|
for _, r := range readers {
|
||||||
bi, err := getBuildInfo(r)
|
bi, err := getBuildInfo(r)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.WithFields("file", filename, "error", err).Warn("unable to read golang buildinfo")
|
log.WithFields("file", filename, "error", err).Trace("unable to read golang buildinfo")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if bi == nil {
|
if bi == nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user