@@ -727,6 +727,7 @@ async fn wait_for_update_done(
727
727
// * non-empty transient_boot_preference (RoT only)
728
728
// * failure to fetch inventory from sled-agent (host OS only)
729
729
// * failure to determine an active slot artifact
730
+ // * failure to communicate with the RoT
730
731
//
731
732
// We have no reason to think these won't converge, so we proceed
732
733
// with waiting.
@@ -742,6 +743,7 @@ async fn wait_for_update_done(
742
743
| Err ( PrecheckError :: MismatchedHostOsActiveSlot { .. } )
743
744
| Err ( PrecheckError :: DeterminingActiveArtifact { .. } )
744
745
| Err ( PrecheckError :: DeterminingHostOsBootDisk { .. } )
746
+ | Err ( PrecheckError :: RotCommunicationFailed { .. } )
745
747
| Ok ( PrecheckStatus :: ReadyForUpdate ) => {
746
748
if before. elapsed ( ) >= timeout {
747
749
return Err ( UpdateWaitError :: Timeout ( timeout) ) ;
@@ -756,8 +758,7 @@ async fn wait_for_update_done(
756
758
| PrecheckError :: WrongActiveVersion { .. }
757
759
| PrecheckError :: WrongActiveArtifact { .. }
758
760
| PrecheckError :: WrongHostOsBootDisk { .. }
759
- | PrecheckError :: InvalidHostPhase1Slot { .. }
760
- | PrecheckError :: RotCommunicationFailed { .. } ) ,
761
+ | PrecheckError :: InvalidHostPhase1Slot { .. } ) ,
761
762
) => {
762
763
// Stop trying to make this update happen. It's not going to
763
764
// happen.
0 commit comments