Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
guilload committed Feb 26, 2024
1 parent ad4af71 commit 01178f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chitchat/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ impl Chitchat {
self.cluster_state.apply_delta(delta);
}

/// Executes the catchup callback if necessary.
/// Executes the catch-up callback if necessary.
fn maybe_trigger_catchup_callback(&self, delta: &Delta) {
if !delta.nodes_to_reset.is_empty() {
if let Some(catchup_callback) = &self.config.catchup_callback {
info!("executing catchup callback");
info!("executing catch-up callback");
catchup_callback();
}
}
Expand Down

0 comments on commit 01178f7

Please sign in to comment.