Skip to content

Commit

Permalink
Added missing return on null check in Linkd.
Browse files Browse the repository at this point in the history
  • Loading branch information
soleger committed Mar 20, 2014
1 parent 9a133b8 commit 3f9303e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ public void updateNodeSnmpCollection(final SnmpCollection snmpcoll) {
LinkableNode node = removeNode(snmpcoll.getPackageName(),snmpcoll.getTarget());
if (node == null) {
LOG.error("No linkable node found for SNMP collection: {}!", snmpcoll.getInfo());
return;
}

LinkableSnmpNode snmpNode = m_queryMgr.getSnmpNode(node.getNodeId());
Expand Down

0 comments on commit 3f9303e

Please sign in to comment.