Guard connectPromise not being null 45/102745/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Jun 2022 16:52:45 +0000 (18:52 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 18 Oct 2022 17:00:40 +0000 (19:00 +0200)
commitfca0e8a97fa144540dccfbdfd0187f3139e4c99d
tree5061ce381fd367396522f570b0ef1f6563907859
parentbc7fa16647968fcbc856816b02c31df93c587caa
Guard connectPromise not being null

Make sure that we validated the passed promise to not be null. Also fix
debug output, which would show up null.

Change-Id: Id7490dc57480192f135bf688a973713c3d30ea9c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit eaace15120044a3e602fd3093b2412be03fd2133)
(cherry picked from commit 120a71646f1e41680063de2470b5df18e53b9c1c)
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java