frankgh commented on code in PR #191:
URL: https://github.com/apache/cassandra-sidecar/pull/191#discussion_r1953101868
##########
server/src/main/java/org/apache/cassandra/sidecar/server/Server.java:
##########
@@ -302,11 +303,15 @@ protected void validate()
*/
protected Future<String> scheduleInternalPeriodicTasks(String deploymentId)
{
- periodicTaskExecutor.schedule(new HealthCheckPeriodicTask(vertx,
-
sidecarConfiguration,
-
instancesMetadata,
-
executorPools,
- metrics));
+ HealthCheckPeriodicTask healthCheckPeriodicTask = new
HealthCheckPeriodicTask(
+ sidecarConfiguration,
+
instancesMetadata,
+
executorPools,
+ metrics);
Review Comment:
Can we fix the formatting here?
```suggestion
HealthCheckPeriodicTask healthCheckPeriodicTask = new
HealthCheckPeriodicTask(sidecarConfiguration,
instancesMetadata,
executorPools,
metrics);
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]