ONOS-6955

onos-app does not reinstall apps correctly

Change-Id: I79e5172769d2aecc50ecdcbe60a86f49a5c17fef
This commit is contained in:
Deepa Vadireddy 2017-11-23 10:12:30 +00:00 committed by Thomas Vachuska
parent 1d4d189e1e
commit 9719eb0239

View File

@ -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()));
}
}
}