Skip to content

Commit e370f9b

Browse files
committed
fixup! rhel: have repository scanner consult dnf
1 parent a7ac05b commit e370f9b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rhel/repositoryscanner.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ func (r *RepositoryScanner) Scan(ctx context.Context, l *claircore.Layer) ([]*cl
251251
var cpes []string
252252
cpes, err = mapContainerAPI(ctx, sys, r.apiFetcher)
253253
if err != nil {
254+
zlog.Warn(ctx).
255+
Err(err).
256+
Msg("container API error")
254257
return
255258
}
256259
for _, cpe := range cpes {

0 commit comments

Comments
 (0)