commit | a1e2656a8ec042492feb654314514bde49fe8713 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Fri Feb 13 16:01:24 2015 -0800 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Fri Feb 13 16:10:43 2015 -0800 |
tree | e2ea060267aeab335057906e577b9685c8054c4c | |
parent | 532d91ccaf668e6755a163dcfb6dfd34e78df781 [diff] |
Fix a copy-and-paste bug within method LinkCollectionIntentInstaller.deactivate() to unregister as an installer. Change-Id: Ia4ba3aefcbdc8c4e4c23c1ab831c71b6c61626f7
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java b/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java index abc08d1..cb6c6e4 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java
@@ -42,7 +42,6 @@ import org.onosproject.net.intent.IntentExtensionService; import org.onosproject.net.intent.IntentInstaller; import org.onosproject.net.intent.LinkCollectionIntent; -import org.onosproject.net.intent.PathIntent; import java.util.Collections; import java.util.List; @@ -73,7 +72,7 @@ @Deactivate public void deactivate() { - intentManager.unregisterInstaller(PathIntent.class); + intentManager.unregisterInstaller(LinkCollectionIntent.class); } @Override