incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1513493 - /sling/trunk/contrib/extensions/healthcheck/healthchecks/src/main/java/org/apache/sling/hc/healthchecks/impl/CompositeHealthCheck.java
Date Tue, 13 Aug 2013 13:51:12 GMT
Author: bdelacretaz
Date: Tue Aug 13 13:51:12 2013
New Revision: 1513493

URL: http://svn.apache.org/r1513493
Log:
SLING-2987 - add filter.tags to info

Modified:
    sling/trunk/contrib/extensions/healthcheck/healthchecks/src/main/java/org/apache/sling/hc/healthchecks/impl/CompositeHealthCheck.java

Modified: sling/trunk/contrib/extensions/healthcheck/healthchecks/src/main/java/org/apache/sling/hc/healthchecks/impl/CompositeHealthCheck.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/extensions/healthcheck/healthchecks/src/main/java/org/apache/sling/hc/healthchecks/impl/CompositeHealthCheck.java?rev=1513493&r1=1513492&r2=1513493&view=diff
==============================================================================
--- sling/trunk/contrib/extensions/healthcheck/healthchecks/src/main/java/org/apache/sling/hc/healthchecks/impl/CompositeHealthCheck.java
(original)
+++ sling/trunk/contrib/extensions/healthcheck/healthchecks/src/main/java/org/apache/sling/hc/healthchecks/impl/CompositeHealthCheck.java
Tue Aug 13 13:51:12 2013
@@ -67,6 +67,7 @@ public class CompositeHealthCheck implem
         bundleContext = ctx.getBundleContext();
         info = new HealthCheckInfo(ctx.getProperties());
         filterTags = PropertiesUtil.toStringArray(ctx.getProperties().get(PROP_FILTER_TAGS),
new String[] {});
+        info.put(PROP_FILTER_TAGS, Arrays.asList(filterTags).toString());
         log.info("Activated, will select HealthCheck having tags {}", Arrays.asList(filterTags));
     }
     



Mime
View raw message