Skip to content

Commit ee727c8

Browse files
Copilotdfeen87
andauthored
Normalize supervisor mismatch failure mode naming
Agent-Logs-Url: https://github.com/dfeen87/HLV-RAPS/sessions/76397be0-fc07-4325-a52e-47c4f90dc2cd Co-authored-by: dfeen87 <158860247+dfeen87@users.noreply.github.com>
1 parent e420fce commit ee727c8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

include/supervisor/redundant_supervisor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class RedundantSupervisor {
99
CRITICAL_ROLLBACK_FAIL,
1010
CRITICAL_NO_ROLLBACK,
1111
PRIMARY_CHANNEL_LOCKUP,
12-
MISMATED_PREDICTION
12+
MISMATCHED_PREDICTION
1313
};
1414

1515
void init();

src/supervisor/supervisor_failure_strings.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ inline const char* supervisor_failure_reason_string(
1010
return "CRITICAL_NO_ROLLBACK";
1111
case RedundantSupervisor::FailureMode::PRIMARY_CHANNEL_LOCKUP:
1212
return "PRIMARY_CHANNEL_LOCKUP";
13-
case RedundantSupervisor::FailureMode::MISMATED_PREDICTION:
14-
return "MISMATED_PREDICTION";
13+
case RedundantSupervisor::FailureMode::MISMATCHED_PREDICTION:
14+
return "MISMATCHED_PREDICTION";
1515
default:
1616
return "UNKNOWN";
1717
}

0 commit comments

Comments
 (0)