Handle method rename in core
Original commit: elastic/x-pack-elasticsearch@43b5edbff0
This commit is contained in:
parent
2f267530a6
commit
8e3e19d8c6
|
@ -63,7 +63,7 @@ public class MonitoringBulkResponse extends ActionResponse {
|
|||
public void readFrom(StreamInput in) throws IOException {
|
||||
super.readFrom(in);
|
||||
tookInMillis = in.readVLong();
|
||||
error = in.readOptionalWritable(Error::new);
|
||||
error = in.readOptionalWriteable(Error::new);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -38,7 +38,7 @@ public class MonitoringDoc implements Writeable<MonitoringDoc> {
|
|||
this(in.readOptionalString(), in.readOptionalString());
|
||||
clusterUUID = in.readOptionalString();
|
||||
timestamp = in.readVLong();
|
||||
sourceNode = in.readOptionalWritable(Node::new);
|
||||
sourceNode = in.readOptionalWriteable(Node::new);
|
||||
}
|
||||
|
||||
public String getClusterUUID() {
|
||||
|
|
Loading…
Reference in New Issue