Handle method rename in core

Original commit: elastic/x-pack-elasticsearch@43b5edbff0
This commit is contained in:
Nik Everett 2016-03-23 12:13:02 -04:00
parent 2f267530a6
commit 8e3e19d8c6
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ public class MonitoringBulkResponse extends ActionResponse {
public void readFrom(StreamInput in) throws IOException { public void readFrom(StreamInput in) throws IOException {
super.readFrom(in); super.readFrom(in);
tookInMillis = in.readVLong(); tookInMillis = in.readVLong();
error = in.readOptionalWritable(Error::new); error = in.readOptionalWriteable(Error::new);
} }
@Override @Override

View File

@ -38,7 +38,7 @@ public class MonitoringDoc implements Writeable<MonitoringDoc> {
this(in.readOptionalString(), in.readOptionalString()); this(in.readOptionalString(), in.readOptionalString());
clusterUUID = in.readOptionalString(); clusterUUID = in.readOptionalString();
timestamp = in.readVLong(); timestamp = in.readVLong();
sourceNode = in.readOptionalWritable(Node::new); sourceNode = in.readOptionalWriteable(Node::new);
} }
public String getClusterUUID() { public String getClusterUUID() {