Skip to content

Commit

Permalink
Use the Default
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Hanson committed Oct 4, 2023
1 parent cab7619 commit e1d680b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions sled-agent/src/sim/sled_agent.rs
Original file line number Diff line number Diff line change
Expand Up @@ -617,15 +617,8 @@ impl SledAgent {
..Default::default()
};
let propolis_log = log.new(o!("component" => "propolis-server-mock"));
let config = propolis_server::config::Config {
bootrom: Default::default(),
pci_bridges: Default::default(),
chipset: Default::default(),
devices: Default::default(),
block_devs: Default::default(),
cpuid_profiles: Default::default(),
};
let private = Arc::new(PropolisContext::new(config, propolis_log));
let private =
Arc::new(PropolisContext::new(Default::default(), propolis_log));
info!(log, "Starting mock propolis-server...");
let dropshot_log = log.new(o!("component" => "dropshot"));
let mock_api = propolis_server::mock_server::api();
Expand Down

0 comments on commit e1d680b

Please sign in to comment.