Committed by
Gerrit Code Review
Bugfix for double PORT_STATS_UPDATED DeviceEvent
Change-Id: I5e53c3046fce23afcd8f22813bc2d81f95952e96
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -860,7 +860,8 @@ public class GossipDeviceStore | ... | @@ -860,7 +860,8 @@ public class GossipDeviceStore |
860 | } | 860 | } |
861 | devicePortDeltaStats.put(deviceId, deltaStatsMap); | 861 | devicePortDeltaStats.put(deviceId, deltaStatsMap); |
862 | devicePortStats.put(deviceId, newStatsMap); | 862 | devicePortStats.put(deviceId, newStatsMap); |
863 | - return new DeviceEvent(PORT_STATS_UPDATED, devices.get(deviceId), null); | 863 | + // DeviceEvent returns null because of InternalPortStatsListener usage |
864 | + return null; | ||
864 | } | 865 | } |
865 | 866 | ||
866 | /** | 867 | /** | ... | ... |
-
Please register or login to post a comment