Modify x-pack to for `TcpTransport` changes

This is related to elatic/elasticsearch#27407. That commit removed
parameterization from TcpTranport. This commit modifies the security
transport to be compatible with those changes.

Original commit: elastic/x-pack-elasticsearch@9878c26e14
This commit is contained in:
Tim Brooks 2017-11-16 14:31:02 -07:00
parent 37c29a4006
commit f94e6d427b
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public class SecurityNetty4Transport extends Netty4Transport {
}
@Override
protected void onException(NettyTcpChannel channel, Exception e) {
protected void onException(TcpChannel channel, Exception e) {
if (!lifecycle.started()) {
// just close and ignore - we are already stopped and just need to make sure we release all resources
TcpChannel.closeChannel(channel, false);