Guard connectPromise not being null 15/101415/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Jun 2022 16:52:45 +0000 (18:52 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 1 Jun 2022 16:52:45 +0000 (18:52 +0200)
commiteaace15120044a3e602fd3093b2412be03fd2133
treeec1bda3587fb1c75d5075498408153b17d0e891d
parent6e662cfa5ed236a16ae47e4917fe6f847e0a9598
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>
netconf/netconf-netty-util/src/main/java/org/opendaylight/netconf/nettyutil/handler/ssh/client/AsyncSshHandler.java