mirror of
https://github.com/anchore/syft.git
synced 2026-11-04 00:16:38 +01:00
Pkg Metadata type unmarshal bug (#4043)
Signed-off-by: houdini91 <mdstrauss91@gmail.com>
This commit is contained in:
@@ -204,5 +204,6 @@ func unpackPkgMetadata(p *Package, unpacker packageMetadataUnpacker) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
p.Metadata = reflect.ValueOf(val).Elem().Interface()
|
p.Metadata = reflect.ValueOf(val).Elem().Interface()
|
||||||
|
p.MetadataType = ty
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user