where incorrect variable is being checked
for null.
https://bugs.opendaylight.org/show_bug.cgi?id=10
Change-Id: I1559b61fbceec69835d9f16c055172a005789c28
Signed-off-by: Kalvin Hom <kahom@cisco.com>
logger.debug("Retrieving cache for HostTrackerIH");
inactiveStaticHosts = (ConcurrentMap<NodeConnector, HostNodeConnector>) this.clusterContainerService
.getCache("hostTrackerIH");
- if (hostsDB == null) {
+ if (inactiveStaticHosts == null) {
logger.error("Cache couldn't be retrieved for HostTrackerIH");
}
logger.debug("Cache was successfully retrieved for HostTrackerIH");