mirror of
https://github.com/anchore/syft.git
synced 2025-11-19 17:33:18 +01:00
fix: reduce logging for bad dpkg lines (#1675)
* fix: reduce logging for bad dpkg lines to Trace level --------- Signed-off-by: Keith Zantow <kzantow@gmail.com>
This commit is contained in:
parent
f66e77e2c6
commit
d05000ff21
@ -151,7 +151,7 @@ func extractAllFields(reader *bufio.Reader) (map[string]interface{}, error) {
|
|||||||
var val interface{}
|
var val interface{}
|
||||||
key, val, err = handleNewKeyValue(line)
|
key, val, err = handleNewKeyValue(line)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Warnf("parsing dpkg status: extracting key-value from line: %s err: %v", line, err)
|
log.Tracef("parsing dpkg status: extracting key-value from line: %s err: %v", line, err)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user