Skip to content

Commit

Permalink
fix: ignore builtin plugins when bootstrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeDombo committed Nov 18, 2022
1 parent e76262f commit f7eb7d9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public boolean isBootstrapRequired(Map<String, Object> newConfig)
private boolean willRemovePlugins(Map<String, Object> serviceConfig) {
Set<String> 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());
Expand Down

0 comments on commit f7eb7d9

Please sign in to comment.