Guard connectPromise not being null 28/102728/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 13:06:20 +0000 (15:06 +0200)
commit120a71646f1e41680063de2470b5df18e53b9c1c
tree98b8fc6e92f800e3e60ff1e6bc9b9cfe502b087e
parent3bdbc61d3a810a9f4623f7957832eab0afcc884a
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)
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java