commit | e36a282851ce801f940f239bf776342a553d59ea | [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:33 2018 +0000 |
tree | 1b4198f1d61d706c277e764dc5f8a55a48ef90eb | |
parent | 2f5182db1e6a9d8f990df611a917d8b635efd5a2 [diff] |
Fixed not to print misleading "device does not exist" warning to the log. Change-Id: I4006c865d7388c6537f6068128bf895a5d3d55e8
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; }