Skip to content

Commit

Permalink
opt imports
Browse files Browse the repository at this point in the history
  • Loading branch information
n1nj4t4nuk1 committed Dec 16, 2024
1 parent 1d5ad23 commit 5deb19c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ impl<R: BreachRepository, E: EventBus> BreachUpdater<R, E> {
cve_date_updated: CveUpdatedDate,
) -> Result<(), DomainError> {
tracing::debug!("Searching Breach update for {}.", id);
let old_breach = match self.repository.find_one(&cve_id, &vendor, &product, &product_version).await {
let old_breach = match self
.repository
.find_one(&cve_id, &vendor, &product, &product_version)
.await
{
Ok(breach) => breach,
Err(err) => {
tracing::info!("Error finding Breach with id: {}.", id);
Expand Down
2 changes: 1 addition & 1 deletion libs/cti/src/breaches/application/update_one/mod.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pub mod breach_updater;
pub mod update_breach_command;
pub mod breach_updater;

0 comments on commit 5deb19c

Please sign in to comment.