From f7eb7d915e0d20366ca4421d8f249c62ce5772bd Mon Sep 17 00:00:00 2001 From: Michael Dombrowski Date: Thu, 17 Nov 2022 21:11:07 -0500 Subject: [PATCH] fix: ignore builtin plugins when bootstrapping --- .../aws/greengrass/deployment/bootstrap/BootstrapManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/aws/greengrass/deployment/bootstrap/BootstrapManager.java b/src/main/java/com/aws/greengrass/deployment/bootstrap/BootstrapManager.java index 183d710a79..018386fa5e 100644 --- a/src/main/java/com/aws/greengrass/deployment/bootstrap/BootstrapManager.java +++ b/src/main/java/com/aws/greengrass/deployment/bootstrap/BootstrapManager.java @@ -161,6 +161,7 @@ public boolean isBootstrapRequired(Map newConfig) private boolean willRemovePlugins(Map serviceConfig) { Set pluginsToRemove = kernel.orderedDependencies().stream() .filter(s -> s instanceof PluginService) + .filter(s -> !s.isBuiltin()) .filter(s -> !serviceConfig.containsKey(s.getName())) .map(GreengrassService::getName) .collect(Collectors.toSet());