Skip to content

Commit

Permalink
fix mock fsm on_leader_stop signature
Browse files Browse the repository at this point in the history
  • Loading branch information
ehds committed Apr 10, 2024
1 parent 59c40e5 commit 714b0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class MockFSM : public braft::StateMachine {
_on_leader_start_closure = NULL;
}
}
void on_leader_stop(const braft::LeaderChangeContext&) {
void on_leader_stop(const butil::Status&) {
_leader_term = -1;
}

Expand Down

0 comments on commit 714b0ce

Please sign in to comment.