Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
gjcolombo committed Aug 26, 2024
1 parent 88a488a commit 8dd6e9e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sled-agent/src/sim/sled_agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,7 @@ impl SledAgent {
Ok(i) => i.current().clone(),
Err(_) => match state {
VmmStateRequested::Stopped => {
return Ok(VmmPutStateResponse {
updated_runtime: None,
});
return Ok(VmmPutStateResponse { updated_runtime: None });
}
_ => {
return Err(Error::invalid_request(&format!(
Expand Down Expand Up @@ -498,9 +496,7 @@ impl SledAgent {
}
}
});
return Ok(VmmPutStateResponse {
updated_runtime: None,
});
return Ok(VmmPutStateResponse { updated_runtime: None });
}
VmmStateRequested::Stopped => {
propolis_client::types::InstanceStateRequested::Stop
Expand Down

0 comments on commit 8dd6e9e

Please sign in to comment.