adapt to upstream changes

This commit is contained in:
javanna 2016-03-24 18:18:27 +01:00 committed by Luca Cavanna
parent 27d4994aff
commit d2931b97e9
2 changed files with 2 additions and 2 deletions

View File

@ -48,7 +48,7 @@ public final class LivenessResponse extends ActionResponse {
public void readFrom(StreamInput in) throws IOException {
super.readFrom(in);
clusterName = ClusterName.readClusterName(in);
in.readOptionalWritable(DiscoveryNode::new);
node = in.readOptionalWriteable(DiscoveryNode::new);
}
@Override

View File

@ -51,7 +51,7 @@ public class ConnectTransportException extends ActionTransportException {
public ConnectTransportException(StreamInput in) throws IOException {
super(in);
node = in.readOptionalWritable(DiscoveryNode::new);
node = in.readOptionalWriteable(DiscoveryNode::new);
}
@Override