Skip to content

Commit

Permalink
Update raft.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
jopemachine committed Aug 29, 2023
1 parent 4cd399b commit a5527ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/raft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use std::cmp;
use std::convert::TryFrom;
use std::ops::{Deref, DerefMut};

use crate::derializer::format_message;
use crate::derializer::{format_message, format_confchangev2};
use crate::eraftpb::{
ConfChange, ConfChangeV2, ConfState, Entry, EntryType, HardState, Message, MessageType,
Snapshot,
Expand Down Expand Up @@ -2075,7 +2075,7 @@ impl<T: Storage> Raft<T> {
info!(
self.logger,
"ignoring conf change";
"conf change" => ?cc,
"conf change" => format_confchangev2(&cc),
"reason" => reason,
"config" => ?self.prs.conf(),
"index" => self.pending_conf_index,
Expand Down

0 comments on commit a5527ec

Please sign in to comment.