Skip to content

Commit

Permalink
Forgot about the benches, thx clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Crossley <[email protected]>
  • Loading branch information
jcrossley3 committed Aug 27, 2024
1 parent 26eda5d commit b7c0398
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/fundamental/benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub(crate) mod trustify_benches {

use trustify_common::db::Transactional;
use trustify_entity::labels::Labels;
use trustify_module_ingestor::service::Format;
use trustify_test_context::{document, TrustifyContext};

pub fn ingestion(c: &mut Criterion) {
Expand All @@ -46,7 +47,7 @@ pub(crate) mod trustify_benches {
let start = Instant::now();
black_box(
ctx.ingestor
.ingest(Labels::default(), None, &data)
.ingest(&data, Format::Advisory, Labels::default(), None)
.await
.expect("ingest ok"),
);
Expand Down

0 comments on commit b7c0398

Please sign in to comment.