Skip to content

Commit

Permalink
chore: adjusted clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Oct 21, 2024
1 parent 2ef16ee commit 4cf3d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ pub async fn subscribe(config: MonitorConfig) -> Result<()> {
),
}

consumer.commit_message(&message, CommitMode::Async)?;
consumer.commit_message(message, CommitMode::Async)?;
}
Err(error) => {
error!(?error, "fail to convert message to event");
consumer.commit_message(&message, CommitMode::Async)?;
consumer.commit_message(message, CommitMode::Async)?;
}
}
}
Expand Down

0 comments on commit 4cf3d26

Please sign in to comment.