commit | 11d1609a5f6b284474c98ec5ea43fdac54dc6ac2 | [log] [tgz] |
---|---|---|
author | HIGUCHI Yuta <y-higuchi@ak.jp.nec.com> | Fri Dec 04 23:35:43 2015 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Tue Dec 08 03:59:05 2015 +0000 |
tree | 2e42c2f39dbb42146ad087ede978a69442fbbca4 | |
parent | 6f8b70232418a54750e77fb35d7b25a3f39ad41c [diff] [blame] |
[Emu] new ResourceService related bug fixes - ResourceDeviceListener should also react to availability events. - Should check if device supports the behavior before retrieving Behaviour class - ResourceManager should unregister when requested - opticalUtils was specifying wrong driver name. Should've been "linc-oe" Change-Id: I9364b6307cb537b04b57ac00f2451c13e3379471
diff --git a/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java b/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java index 3014951..a5aae0f 100644 --- a/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java +++ b/core/net/src/main/java/org/onosproject/net/newresource/impl/ResourceManager.java
@@ -172,7 +172,7 @@ public boolean unregisterResources(List<ResourcePath> resources) { checkNotNull(resources); - return store.register(resources); + return store.unregister(resources); } private class InternalStoreDelegate implements ResourceStoreDelegate {