Dusan Pajin
Committed by Gerrit Code Review

Bugfix for double PORT_STATS_UPDATED DeviceEvent

Change-Id: I5e53c3046fce23afcd8f22813bc2d81f95952e96
......@@ -860,7 +860,8 @@ public class GossipDeviceStore
}
devicePortDeltaStats.put(deviceId, deltaStatsMap);
devicePortStats.put(deviceId, newStatsMap);
return new DeviceEvent(PORT_STATS_UPDATED, devices.get(deviceId), null);
// DeviceEvent returns null because of InternalPortStatsListener usage
return null;
}
/**
......