commit | 5768264fe2ff7821a5703c6eb25255f8ab6e0b80 | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Thu May 03 12:16:52 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Fri May 04 15:55:53 2018 +0000 |
tree | a2a541e5a53d43fe61ab5af86225c12962905731 | |
parent | 230aedbd99217a3a8a3b41dcb03ce81c8bf7ef97 [diff] |
Fixed not to print misleading "device does not exist" warning to the log. Change-Id: I4006c865d7388c6537f6068128bf895a5d3d55e8 (cherry picked from commit e36a282851ce801f940f239bf776342a553d59ea)
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 c770359..de6d2f0 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
@@ -538,8 +538,9 @@ } } } + } else { + log.warn("Device {} does not exist in store", deviceId); } - log.warn("Device {} does not exist in store", deviceId); return null; }