Skip to content

Commit

Permalink
update example
Browse files Browse the repository at this point in the history
  • Loading branch information
jollidah committed Oct 2, 2024
1 parent d466abb commit 2b10d2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harness/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pub fn cleanup_storage(log_dir: &str) {
/// # Examples
/// ```rust, ignore
/// let rafts = wait_until_rafts_ready(None, rx_raft, 5).await;
/// let leader_id = rafts.get(&1).unwrap().get_leader_id().await;
/// let leader_id = rafts.get(&1).unwrap().get_leader_id().await.unwrap();
/// let leader_set =
/// collect_state_matching_rafts_until_leader_emerge(&rafts, StateRole::Leader).await;
/// let follower_set =
Expand Down

0 comments on commit 2b10d2c

Please sign in to comment.