File tree 1 file changed +10
-0
lines changed
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -919,6 +919,7 @@ impl SingleSp {
919
919
) -> Result < ( ) > {
920
920
// If the SP has an update pending, then try to use the watchdog reset
921
921
let mut use_watchdog = !disable_watchdog
922
+ && matches ! ( component, SpComponent :: SP_ITSELF )
922
923
&& matches ! (
923
924
self . update_status( component) . await ?,
924
925
UpdateStatus :: Complete ( ..)
@@ -1022,6 +1023,15 @@ impl SingleSp {
1022
1023
SpError :: ResetComponentTriggerWithoutPrepare
1023
1024
| SpError :: Monorail ( MonorailError :: ManagementNetworkLocked ) ,
1024
1025
) ) if component == SpComponent :: SP_ITSELF => Ok ( ( ) ) ,
1026
+
1027
+ // If we reset the Monorail subsystem, then (depending on which port
1028
+ // we're using to talk to the SP) it may not be able to reply; we'll
1029
+ // keep sending the Trigger command, and will expect to receive this
1030
+ // error once the network comes back up.
1031
+ Err ( CommunicationError :: SpError (
1032
+ SpError :: ResetComponentTriggerWithoutPrepare ,
1033
+ ) ) if component == SpComponent :: MONORAIL => Ok ( ( ) ) ,
1034
+
1025
1035
Err ( other) => Err ( other) ,
1026
1036
} ;
1027
1037
You can’t perform that action at this time.
0 commit comments