Avoid an NPE in OvsdbNodeRemoveCommand
authorStephen Kitt <skitt@redhat.com>
Fri, 30 Oct 2015 13:39:34 +0000 (14:39 +0100)
committerStephen Kitt <skitt@redhat.com>
Fri, 30 Oct 2015 17:16:04 +0000 (18:16 +0100)
commit65330b55108aed68e7e53ad676ddcceb9557b012
tree5ad6c003d9c679df9d3dd4b05e1340bffb339232
parenta9c55bcda88dd7cb3600187658f17e1a4a75b38e
Avoid an NPE in OvsdbNodeRemoveCommand

In some cases (perhaps only test code)
ovsdbNodeAugmentation.getManagerEntry() returns null; this patch adds
a test to avoid the resulting NPE.

Change-Id: If545d3e4478deb91703029d8226957c5c61d2125
Signed-off-by: Stephen Kitt <skitt@redhat.com>