diff options
Diffstat (limited to 'server/sonar-main/src')
-rw-r--r-- | server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java b/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java index d1e184ad436..93657803762 100644 --- a/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java +++ b/server/sonar-main/src/main/java/org/sonar/application/health/SearchNodeHealthProvider.java @@ -33,12 +33,10 @@ import static org.sonar.cluster.ClusterProperties.CLUSTER_NODE_NAME; import static org.sonar.cluster.ClusterProperties.CLUSTER_NODE_PORT; public class SearchNodeHealthProvider implements NodeHealthProvider { - private final System2 system2; private final ClusterAppState clusterAppState; private final NodeDetails nodeDetails; public SearchNodeHealthProvider(Props props, System2 system2, ClusterAppState clusterAppState, NetworkUtils networkUtils) { - this.system2 = system2; this.clusterAppState = clusterAppState; this.nodeDetails = NodeDetails.newNodeDetailsBuilder() .setType(NodeDetails.Type.SEARCH) @@ -68,7 +66,6 @@ public class SearchNodeHealthProvider implements NodeHealthProvider { } return builder .setDetails(nodeDetails) - .setDate(system2.now()) .build(); } } |