fix RaftConfig is always {} (#11648)

This commit is contained in:
hth 2024-01-17 15:27:49 +08:00 committed by GitHub
parent 1943825e4d
commit bdbc356ce4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ public class RaftConfig implements Config<RequestProcessor4CP> {
@Override
public String toString() {
try {
return JacksonUtils.toJson(data);
return JacksonUtils.toJson(this);
} catch (Exception e) {
return String.valueOf(data);
}