We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ce248 commit 932ad04Copy full SHA for 932ad04
sled-agent/src/sim/server.rs
@@ -608,7 +608,13 @@ pub async fn run_standalone_server(
608
});
609
610
let plan = ServicePlan { all_sleds, dns_config: dns_config.clone() };
611
- plan.to_blueprint(inventory.ledgered_sled_config.unwrap().generation)
+ let generation = inventory
612
+ .ledgered_sled_config
613
+ .context(
614
+ "simulated inventory does not have a ledgered sled config",
615
+ )?
616
+ .generation;
617
+ plan.to_blueprint(generation)
618
.context("could not construct initial blueprint")?
619
};
620
0 commit comments