You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "amitjoy (via GitHub)" <gi...@apache.org> on 2023/01/27 14:33:55 UTC

[GitHub] [felix-dev] amitjoy commented on a diff in pull request #192: Updated to use HTTP optionally in HealthCheck

amitjoy commented on code in PR #192:
URL: https://github.com/apache/felix-dev/pull/192#discussion_r1089029567


##########
healthcheck/core/src/main/java/org/apache/felix/hc/core/impl/servlet/HealthCheckExecutorServlet.java:
##########
@@ -162,7 +164,10 @@ void setDescription(String d) {
     ResultTxtVerboseSerializer verboseTxtSerializer;
 
     @Activate
-    protected final void activate(final HealthCheckExecutorServletConfiguration configuration) {
+    protected final void activate(final HealthCheckExecutorServletConfiguration configuration, final BundleContext bundleContext) {
+    	this.bundleContext = bundleContext;
+    	servletRegistrations = new ArrayList<>();

Review Comment:
   Yeah, makes sense. On it.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@felix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org