Fix deserialize error for raft beat
This commit is contained in:
parent
fc714dac74
commit
da4cc10e8a
@ -233,7 +233,7 @@ public class RaftController {
|
||||
String value = URLDecoder.decode(entity, "UTF-8");
|
||||
value = URLDecoder.decode(value, "UTF-8");
|
||||
|
||||
JsonNode jsonObject = JacksonUtils.createEmptyJsonNode();
|
||||
JsonNode jsonObject = JacksonUtils.toObj(value);
|
||||
|
||||
Datum datum = JacksonUtils.toObj(jsonObject.get("datum").toString(), Datum.class);
|
||||
RaftPeer source = JacksonUtils.toObj(jsonObject.get("source").toString(), RaftPeer.class);
|
||||
|
Loading…
Reference in New Issue
Block a user