Fixed missing controller poll update in case of EVENT. Fixed eventBus

duplicate event post.

Signed-off-by: Kai Zimmermann <kai.zimmermann@bosch-si.com>
This commit is contained in:
Kai Zimmermann
2016-08-19 11:19:33 +02:00
parent 09c329a485
commit bd5d532d60
5 changed files with 43 additions and 33 deletions

View File

@@ -341,7 +341,7 @@ public class JpaControllerManagement implements ControllerManagement {
targetInfo.setInstalledDistributionSet(ds);
targetInfo.setInstallationDate(System.currentTimeMillis());
// check if the assigned set is equal no to the installed set (not
// check if the assigned set is equal to the installed set (not
// necessarily the case as another update might be pending already).
if (target.getAssignedDistributionSet() != null && target.getAssignedDistributionSet().getId()
.equals(targetInfo.getInstalledDistributionSet().getId())) {