mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Move code from checker to library
This commit is contained in:
parent
c8b53a8143
commit
dad549c392
2 changed files with 12 additions and 6 deletions
|
|
@ -464,12 +464,7 @@ func (p *processor) processROLIEFeed(feed string) error {
|
|||
}
|
||||
|
||||
// Extract the CSAF files from feed.
|
||||
var files []string
|
||||
for _, f := range rfeed.Feed.Entry {
|
||||
for i := range f.Link {
|
||||
files = append(files, f.Link[i].HRef)
|
||||
}
|
||||
}
|
||||
files := rfeed.Files()
|
||||
|
||||
if err := p.integrity(files, base, rolieMask, p.badProviderMetadata.add); err != nil &&
|
||||
err != errContinue {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue