Skip to content

Commit

Permalink
Fix typo new_conf -> conf (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
greensky00 committed Aug 31, 2023
1 parent 6aecebd commit 99eeef3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/libnuraft/state_machine.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ public:
* the current `cluster_config`'s log index.
*
* @param log_idx Raft log number of the configuration change.
* @param new_conf The cluster configuration to be rolled back.
* @param conf The cluster configuration to be rolled back.
*/
virtual void rollback_config(const ulong log_idx, ptr<cluster_config>& new_conf) { }
virtual void rollback_config(const ulong log_idx, ptr<cluster_config>& conf) { }

/**
* (Optional)
Expand Down

0 comments on commit 99eeef3

Please sign in to comment.