Simplify error checking in writeWithPendingDetection() 71/102771/2
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Oct 2022 21:33:28 +0000 (23:33 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 20 Oct 2022 09:01:20 +0000 (11:01 +0200)
commit4062aa60862fc4bb81edc563fa0b6bc3cc41d3f3
tree917267ef9fb6a2b993ba4601c5a336a492f49a3a
parentf0cd16a3b950448b75a2a50820a7cba352ecbd0f
Simplify error checking in writeWithPendingDetection()

We are only interested in seeing the failure, as we are guarateed to see
a completed future.

JIRA: NETCONF-905
Change-Id: I3fa0236592ff785be49e0cb69a20d7c08b9432e9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 7f08b1035520fcc0f60ab6c6ab6536366510a45f)
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerWriter.java
netconf/netconf-netty-util/src/test/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandlerTest.java