adapt to upstream changes
Original commit: elastic/x-pack-elasticsearch@7f281d6f29
This commit is contained in:
parent
57114ae4f0
commit
c1414b9f86
|
@ -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