Skip to content

Commit

Permalink
fix: retrying later on change means, accepting it now
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Jul 8, 2024
1 parent 094ef8b commit e3e9c15
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions modules/importer/src/server/csaf/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ impl ValidatedVisitor for CsafReportVisitor {

// If there's a signature error, we can't do much other than ignoring the
// current file. Once it gets updated, we can reprocess it.
return Ok(());
}
StorageError::Storage(err) => {
self.0.report.lock().add_error(
Expand Down
1 change: 1 addition & 0 deletions modules/importer/src/server/sbom/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ impl ValidatedVisitor for SbomReportVisitor {

// If there's a signature error, we can't do much other than ignoring the
// current file. Once it gets updated, we can reprocess it.
return Ok(());
}
StorageError::Storage(err) => {
self.0.report.lock().add_error(
Expand Down

0 comments on commit e3e9c15

Please sign in to comment.