You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cs...@apache.org on 2019/12/24 00:00:28 UTC

[sling-org-apache-sling-distribution-journal] branch master updated: SLING-8932 - Fix incorrect subservice

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

cschneider pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-distribution-journal.git


The following commit(s) were added to refs/heads/master by this push:
     new 810d164  SLING-8932 - Fix incorrect subservice
810d164 is described below

commit 810d164d7bba2de04bc534212bb80f7530e48ac5
Author: Christian Schneider <cs...@adobe.com>
AuthorDate: Tue Dec 24 01:00:18 2019 +0100

    SLING-8932 - Fix incorrect subservice
---
 .../apache/sling/distribution/journal/impl/subscriber/BookKeeper.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
index 4518e7b..669d566 100644
--- a/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
+++ b/src/main/java/org/apache/sling/distribution/journal/impl/subscriber/BookKeeper.java
@@ -307,7 +307,7 @@ public class BookKeeper implements Closeable {
     }
 
     private ResourceResolver getServiceResolver(String subService) throws LoginException {
-        return resolverFactory.getServiceResourceResolver(singletonMap(SUBSERVICE, SUBSERVICE_BOOKKEEPER));
+        return resolverFactory.getServiceResourceResolver(singletonMap(SUBSERVICE, subService));
     }
 
     class PackageStatus {