From 9719eb0239a9ca40a441cd1b3bca7018263fd58b Mon Sep 17 00:00:00 2001 From: Deepa Vadireddy Date: Thu, 23 Nov 2017 10:12:30 +0000 Subject: [PATCH] ONOS-6955 onos-app does not reinstall apps correctly Change-Id: I79e5172769d2aecc50ecdcbe60a86f49a5c17fef --- .../org/onosproject/store/app/DistributedApplicationStore.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java b/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java index 7145a12d90..a2c652a5a3 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/app/DistributedApplicationStore.java @@ -515,8 +515,8 @@ public class DistributedApplicationStore extends ApplicationArchive } setupApplicationAndNotify(appId, newApp.app(), newApp.state()); } else if (event.type() == MapEvent.Type.REMOVE) { - notifyDelegate(new ApplicationEvent(APP_UNINSTALLED, oldApp.app())); purgeApplication(appId.name()); + notifyDelegate(new ApplicationEvent(APP_UNINSTALLED, oldApp.app())); } } }