adapt to upstream changes

Original commit: elastic/x-pack-elasticsearch@7f281d6f29
This commit is contained in:
javanna 2016-03-25 15:20:16 +01:00 committed by Luca Cavanna
parent 57114ae4f0
commit c1414b9f86
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 {
super.readFrom(in);
tookInMillis = in.readVLong();
error = in.readOptionalWritable(Error::new);
error = in.readOptionalWriteable(Error::new);
}
@Override

View File

@ -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() {