Skip to content

Commit

Permalink
clippy-clean helios sled-agent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Aug 9, 2024
1 parent 7b6f5a0 commit 1b7bfd8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions sled-agent/src/instance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1756,8 +1756,7 @@ mod tests {

let ticket = InstanceTicket::new_without_manager_for_test(id);

let initial_state =
fake_instance_initial_state(propolis_id, propolis_addr);
let initial_state = fake_instance_initial_state(propolis_addr);

let (services, rx) = fake_instance_manager_services(
log,
Expand Down Expand Up @@ -1793,7 +1792,6 @@ mod tests {
}

fn fake_instance_initial_state(
propolis_id: PropolisUuid,
propolis_addr: SocketAddr,
) -> InstanceInitialState {
let hardware = InstanceHardware {
Expand Down Expand Up @@ -2216,8 +2214,8 @@ mod tests {
hardware,
vmm_runtime,
propolis_addr,
migration_id,
} = fake_instance_initial_state(propolis_id, propolis_addr);
migration_id: _,
} = fake_instance_initial_state(propolis_addr);

let metadata = InstanceMetadata {
silo_id: Uuid::new_v4(),
Expand Down

0 comments on commit 1b7bfd8

Please sign in to comment.