Skip to content

Commit 9c8c8b3

Browse files
committed
1. makes corresponding changes in the examples
2. deletes finalPing.failed(status); was called twice
1 parent e5ce131 commit 9c8c8b3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

netty/src/main/java/io/grpc/netty/NettyClientHandler.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,6 @@ public void operationComplete(ChannelFuture future) throws Exception {
860860
if (cause instanceof ClosedChannelException && status == null) {
861861
status = Status.UNKNOWN.withDescription("Ping failed but for unknown reason.")
862862
.withCause(future.cause());
863-
finalPing.failed(status);
864863
} else {
865864
status = Utils.statusFromThrowable(cause);
866865
}

0 commit comments

Comments
 (0)