commit | 9719eb0239a9ca40a441cd1b3bca7018263fd58b | [log] [tgz] |
---|---|---|
author | Deepa Vadireddy <dvaddire@partner.ciena.com> | Thu Nov 23 10:12:30 2017 +0000 |
committer | Thomas Vachuska <tom@opennetworking.org> | Wed Jan 10 23:12:36 2018 +0000 |
tree | a175e24cae2f763ae5ad856e719c400d4b3640e3 | |
parent | 1d4d189e1e5bd399f6db6548d96d9ea32cb704bb [diff] |
ONOS-6955 onos-app does not reinstall apps correctly Change-Id: I79e5172769d2aecc50ecdcbe60a86f49a5c17fef
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 7145a12..a2c652a 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 @@ } 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())); } } }