Fix a copy-and-paste bug within method
LinkCollectionIntentInstaller.deactivate() to unregister as an installer. Change-Id: Ia4ba3aefcbdc8c4e4c23c1ab831c71b6c61626f7
Showing
1 changed file
with
1 additions
and
2 deletions
... | @@ -42,7 +42,6 @@ import org.onosproject.net.flow.TrafficTreatment; | ... | @@ -42,7 +42,6 @@ import org.onosproject.net.flow.TrafficTreatment; |
42 | import org.onosproject.net.intent.IntentExtensionService; | 42 | import org.onosproject.net.intent.IntentExtensionService; |
43 | import org.onosproject.net.intent.IntentInstaller; | 43 | import org.onosproject.net.intent.IntentInstaller; |
44 | import org.onosproject.net.intent.LinkCollectionIntent; | 44 | import org.onosproject.net.intent.LinkCollectionIntent; |
45 | -import org.onosproject.net.intent.PathIntent; | ||
46 | 45 | ||
47 | import java.util.Collections; | 46 | import java.util.Collections; |
48 | import java.util.List; | 47 | import java.util.List; |
... | @@ -73,7 +72,7 @@ public class LinkCollectionIntentInstaller | ... | @@ -73,7 +72,7 @@ public class LinkCollectionIntentInstaller |
73 | 72 | ||
74 | @Deactivate | 73 | @Deactivate |
75 | public void deactivate() { | 74 | public void deactivate() { |
76 | - intentManager.unregisterInstaller(PathIntent.class); | 75 | + intentManager.unregisterInstaller(LinkCollectionIntent.class); |
77 | } | 76 | } |
78 | 77 | ||
79 | @Override | 78 | @Override | ... | ... |
-
Please register or login to post a comment