File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
reconfigurator/execution/src
types/src/deployment/execution Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -409,13 +409,17 @@ fn register_deploy_db_metadata_nexus_records_step<'a>(
409
409
. new_step (
410
410
ExecutionStepId :: Ensure ,
411
411
"Ensure db_metadata_nexus_state records exist" ,
412
- async move |_cx| {
413
- database:: deploy_db_metadata_nexus_records (
414
- opctx, & datastore, & blueprint,
412
+ async move |_cx| match database:: deploy_db_metadata_nexus_records (
413
+ opctx, & datastore, & blueprint,
414
+ )
415
+ . await
416
+ {
417
+ Ok ( ( ) ) => StepSuccess :: new ( ( ) ) . into ( ) ,
418
+ Err ( err) => StepWarning :: new (
419
+ ( ) ,
420
+ err. context ( "ensuring db_metadata_nexus_state" ) . to_string ( ) ,
415
421
)
416
- . await
417
- . context ( "ensuring db_metadata_nexus_state" ) ?;
418
- StepSuccess :: new ( ( ) ) . into ( )
422
+ . into ( ) ,
419
423
} ,
420
424
)
421
425
. register ( ) ;
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ pub enum ExecutionComponent {
30
30
ExternalNetworking ,
31
31
SupportBundles ,
32
32
SledList ,
33
- SledAgent ,
34
33
DeployNexusRecords ,
34
+ SledAgent ,
35
35
PhysicalDisks ,
36
36
OmicronZones ,
37
37
FirewallRules ,
You can’t perform that action at this time.
0 commit comments