Fix deserialize error for raft beat

This commit is contained in:
KomachiSion 2020-05-29 15:14:13 +08:00
parent 866f134262
commit fc714dac74

View File

@ -86,7 +86,7 @@ public class RaftController {
JsonNode json = JacksonUtils.toObj(value);
RaftPeer peer = raftCore.receivedBeat(json.get("beat"));
RaftPeer peer = raftCore.receivedBeat(JacksonUtils.toObj(json.get("beat").asText()));
return JacksonUtils.transferToJsonNode(peer);
}