Skip to content

Commit 444fe7d

Browse files
committed
Only check one level of children
1 parent 2550c3f commit 444fe7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/api/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func (i *ImageTag) MatchesSHA(sha string) bool {
2626
return true
2727
}
2828
for _, known := range i.Children {
29-
if known.MatchesSHA(sha) {
29+
if known.SHA == sha {
3030
return true
3131
}
3232
}

0 commit comments

Comments
 (0)