Skip to content

Commit

Permalink
Modify: RaftResponse::Error => RaftResponse::Error(String)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmqtt committed Jul 16, 2022
1 parent 487ca2d commit b692339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub enum RaftResponse {
RequestId {
leader_id: u64,
},
Error,
Error(String),
Response {
data: Vec<u8>,
},
Expand Down

0 comments on commit b692339

Please sign in to comment.