Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
address clippy warnings from 0.1.54 (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored Aug 2, 2021
1 parent cfe0ec8 commit 0b40abd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/agent/onefuzz-agent/src/tasks/report/generic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl ReportTask {
info!("processing existing crashes");
if let Some(crashes) = &self.config.crashes {
self.poller
.batch_process(&mut processor, &crashes)
.batch_process(&mut processor, crashes)
.await
.context("batch processing failed")?;
}
Expand Down
2 changes: 1 addition & 1 deletion src/agent/onefuzz-supervisor/src/agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ impl Agent {
Ok(None) => {}
Ok(Some(cmd)) => {
info!("agent received node command: {:?}", cmd);
self.scheduler()?.execute_command(&cmd).await?;
self.scheduler()?.execute_command(cmd).await?;
}
Err(PollCommandError::RequestFailed(err)) => {
// If we failed to request commands, this could be the service
Expand Down
2 changes: 1 addition & 1 deletion src/proxy-manager/src/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ pub async fn update(data: &ConfigData) -> Result<()> {
if !path.is_file() {
info!("adding service {}", file_name);
tokio::fs::write(&path, content).await?;
start_service(&file_name).await?;
start_service(file_name).await?;
}
}

Expand Down

0 comments on commit 0b40abd

Please sign in to comment.