Skip to content

Commit

Permalink
[ISSUE apache#8061] Fix npe in netty remoting client (apache#8064)
Browse files Browse the repository at this point in the history
  • Loading branch information
fujian-zfj authored May 14, 2024
1 parent 502e2d7 commit 03b16aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,7 @@ private Channel getAndCreateChannel(final String addr) throws InterruptedExcepti
if (channelFuture == null) {
return null;
}
return getAndCreateChannelAsync(addr).awaitUninterruptibly().channel();
return channelFuture.awaitUninterruptibly().channel();
}

private ChannelFuture getAndCreateNameserverChannelAsync() throws InterruptedException {
Expand Down

0 comments on commit 03b16aa

Please sign in to comment.