From b6923394f8f93098e75aea0615e8ce4cb76ceed9 Mon Sep 17 00:00:00 2001 From: rmqtt Date: Sat, 16 Jul 2022 21:01:20 +0800 Subject: [PATCH] Modify: RaftResponse::Error => RaftResponse::Error(String) --- src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.rs b/src/message.rs index d94cc4d..8c1e343 100644 --- a/src/message.rs +++ b/src/message.rs @@ -17,7 +17,7 @@ pub enum RaftResponse { RequestId { leader_id: u64, }, - Error, + Error(String), Response { data: Vec, },