You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by pa...@apache.org on 2022/02/16 15:07:27 UTC

[sling-org-apache-sling-feature-launcher] branch master updated: SLING-11148: lookup the config admin with all services (#38)

This is an automated email from the ASF dual-hosted git repository.

pauls pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-launcher.git


The following commit(s) were added to refs/heads/master by this push:
     new 69a13b8  SLING-11148: lookup the config admin with all services (#38)
69a13b8 is described below

commit 69a13b8d740f4bbca120ff4210bf868e9210672a
Author: Karl Pauls <pa...@apache.org>
AuthorDate: Wed Feb 16 16:04:30 2022 +0100

    SLING-11148: lookup the config admin with all services (#38)
---
 .../apache/sling/feature/launcher/impl/launchers/AbstractRunner.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/feature/launcher/impl/launchers/AbstractRunner.java b/src/main/java/org/apache/sling/feature/launcher/impl/launchers/AbstractRunner.java
index 0c56e27..ff80c43 100644
--- a/src/main/java/org/apache/sling/feature/launcher/impl/launchers/AbstractRunner.java
+++ b/src/main/java/org/apache/sling/feature/launcher/impl/launchers/AbstractRunner.java
@@ -173,7 +173,7 @@ public abstract class AbstractRunner implements Callable<Integer> {
                 // the filter is constant so this should really not happen
                 throw new RuntimeException(e);
             }
-            this.configAdminTracker.open();
+            this.configAdminTracker.open(true);
         } else if (!configurations.isEmpty()) {
 
             this.configAdminTracker = new ServiceTracker<>(framework.getBundleContext(),
@@ -203,7 +203,7 @@ public abstract class AbstractRunner implements Callable<Integer> {
                             // nothing to do
                         }
                     });
-            this.configAdminTracker.open();
+            this.configAdminTracker.open(true);
         }
         if ( !installables.isEmpty() ) {
             this.installerTracker = new ServiceTracker<>(framework.getBundleContext(),