Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
hanneary committed Dec 9, 2024
1 parent d65e311 commit 180f857
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions control-plane/src/orchestration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,10 @@ impl Orchestration {
.await?;

if !output.status.success() {
return Err(OrchestrationError::CommandFailed(
format!(
"Command {:?} failed with exit status: {}",
args, output.status
)
.into(),
));
return Err(OrchestrationError::CommandFailed(format!(
"Command {:?} failed with exit status: {}",
args, output.status
)));
}

Ok(String::from_utf8_lossy(&output.stdout).to_string())
Expand Down

0 comments on commit 180f857

Please sign in to comment.