Skip to content

Commit

Permalink
chore: make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ctron committed Jul 12, 2024
1 parent 07dd1ef commit 07cd69a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ingestor/src/service/advisory/csaf/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl<'g> CsafLoader<'g> {
tx: TX,
) -> Result<(), Error> {
if let Some(cve_id) = &vulnerability.cve {
self.graph.ingest_vulnerability(&cve_id, (), &tx).await?;
self.graph.ingest_vulnerability(cve_id, (), &tx).await?;

let advisory_vulnerability = advisory
.link_to_vulnerability(
Expand Down
2 changes: 2 additions & 0 deletions modules/ingestor/tests/csaf.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::expect_used)]

use anyhow::bail;
use std::time::Instant;
use test_context::test_context;
Expand Down

0 comments on commit 07cd69a

Please sign in to comment.