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

Commit 0b40abd

Browse files
authored
address clippy warnings from 0.1.54 (#1118)
1 parent cfe0ec8 commit 0b40abd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/agent/onefuzz-agent/src/tasks/report/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl ReportTask {
8585
info!("processing existing crashes");
8686
if let Some(crashes) = &self.config.crashes {
8787
self.poller
88-
.batch_process(&mut processor, &crashes)
88+
.batch_process(&mut processor, crashes)
8989
.await
9090
.context("batch processing failed")?;
9191
}

src/agent/onefuzz-supervisor/src/agent.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ impl Agent {
286286
Ok(None) => {}
287287
Ok(Some(cmd)) => {
288288
info!("agent received node command: {:?}", cmd);
289-
self.scheduler()?.execute_command(&cmd).await?;
289+
self.scheduler()?.execute_command(cmd).await?;
290290
}
291291
Err(PollCommandError::RequestFailed(err)) => {
292292
// If we failed to request commands, this could be the service

src/proxy-manager/src/proxy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ pub async fn update(data: &ConfigData) -> Result<()> {
121121
if !path.is_file() {
122122
info!("adding service {}", file_name);
123123
tokio::fs::write(&path, content).await?;
124-
start_service(&file_name).await?;
124+
start_service(file_name).await?;
125125
}
126126
}
127127

0 commit comments

Comments
 (0)