commit | 517e2233696ed24ef17052a837da2aa41cfef6c1 | [log] [tgz] |
---|---|---|
author | Dusan Pajin <dusan.pajin@amres.ac.rs> | Mon Aug 24 16:50:11 2015 +0200 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Aug 25 16:37:25 2015 +0000 |
tree | 2eb8af0ead1dc0d4b1ed24b25333bb543a292ac4 | |
parent | 4346d607c67658ffc6ba9effc91ab94967b7f8a2 [diff] |
Bugfix for double PORT_STATS_UPDATED DeviceEvent Change-Id: I5e53c3046fce23afcd8f22813bc2d81f95952e96
diff --git a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java index 7d0be64..a540e56 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/device/impl/GossipDeviceStore.java
@@ -860,7 +860,8 @@ } 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; } /**