Skip to content

Commit

Permalink
Linting: openvasd: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtsfrei committed May 8, 2024
1 parent 2667c30 commit 902361c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rust/openvasd/src/controller/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,10 @@ mod tests {
let scanner = FakeScanner {
count: Arc::new(RwLock::new(0)),
};
let mut ns = crate::config::Scheduler::default();
ns.check_interval = std::time::Duration::from_nanos(10);
let ns = crate::config::Scheduler {
check_interval: std::time::Duration::from_nanos(10),
..Default::default()
};
let root = "/tmp/openvasd/fetch_results";
let nfp = "../../examples/feed/nasl";
let nofp = "../../examples/feed/notus/advisories";
Expand Down

0 comments on commit 902361c

Please sign in to comment.