Fix wrong condition statement in update method 19/81919/1
authorYi Yang <yangyi01@inspur.com>
Tue, 7 May 2019 01:06:39 +0000 (21:06 -0400)
committerYi Yang <yangyi01@inspur.com>
Tue, 7 May 2019 01:11:40 +0000 (21:11 -0400)
commite9769581c0c42901a36e071f6dc53e67fe87c75c
tree43f0f43d580efe440be45a68008b1d9257ecf620
parent2567323b36d2e2a304af652bf610726cf90b0c89
Fix wrong condition statement in update method

In update method in TunnelInventoryStateListener.java,
the below condition is wrong obviously.

if (DirectTunnelUtils.TUNNEL_PORT_PREDICATE.test(portName)) {
    LOG.debug("Node Connector Update - {} Interface is not ...
    return;
}

JIRA: GENIUS-275

Change-Id: I0b03d7357edb37baf0f535d06dd3a72952b387f5
Signed-off-by: Yi Yang <yangyi01@inspur.com>
itm/itm-impl/src/main/java/org/opendaylight/genius/itm/itmdirecttunnels/listeners/TunnelInventoryStateListener.java