mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
remove accessing tag when not available (#174)
Signed-off-by: praveenmylavarapu <saipraveenmylavarapu@gmail.com>
This commit is contained in:
parent
80ee18d20b
commit
e26627d8b6
@ -54,7 +54,6 @@ func (pres *Presenter) Present(output io.Writer) error {
|
|||||||
} else {
|
} else {
|
||||||
imageID = src.Img.Metadata.Digest
|
imageID = src.Img.Metadata.Digest
|
||||||
}
|
}
|
||||||
src.Img.Metadata.Tags[0].TagStr()
|
|
||||||
bom.BomDescriptor.Component = &BdComponent{
|
bom.BomDescriptor.Component = &BdComponent{
|
||||||
Component: Component{
|
Component: Component{
|
||||||
Type: "container",
|
Type: "container",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user