commit | c1f7da1968c9749892fce1b5a2e57ff79d3071bc | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@opennetworking.org> | Thu May 03 12:16:52 2018 -0700 |
committer | Thomas Vachuska <tom@opennetworking.org> | Mon May 07 15:51:14 2018 -0700 |
tree | 7baaed241bf5c127467029cd1154659d6f53c655 | |
parent | 218257e3ea7370788e2aca899d0fb5c6f118f874 [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 5242fbb..8cc564f 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
@@ -548,8 +548,9 @@ } } } + } else { + log.warn("Device {} does not exist in store", deviceId); } - log.warn("Device {} does not exist in store", deviceId); return null; }