Skip to content

Commit 3700260

Browse files
committed
make sure grype and syft can timeout.
1 parent 45d8197 commit 3700260

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

pkg/model/loader_grype.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,6 @@ func (rx *PharosScanResult) LoadGrypeImageScan(sbom syfttype.SyftSbomType, scan
4444
rx.Image.IndexDigest = ""
4545
}
4646
} // TODO: check if this is correct, but we use this for now.
47-
if rx.Image.IndexDigest == "" {
48-
rx.Image.IndexDigest = "not applicable"
49-
}
5047

5148
rx.Image.ArchName = target.Architecture
5249
rx.Image.ArchOS = target.OS

0 commit comments

Comments
 (0)