File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -241,10 +241,7 @@ public void clusterChanged(ClusterChangedEvent event) {
241241 boolean taskIsBootstrapped = taskIsBootstrappedByProject .computeIfAbsent (projectId , k -> false );
242242 if (taskIsBootstrapped != true ) {
243243 taskIsBootstrappedByProject .put (projectId , true );
244- this .taskIsBootstrappedByProject .computeIfAbsent (
245- projectId ,
246- k -> hasAtLeastOneGeoipProcessor (projectMetadata )
247- );
244+ this .taskIsBootstrappedByProject .computeIfAbsent (projectId , k -> hasAtLeastOneGeoipProcessor (projectMetadata ));
248245 if (ENABLED_SETTING .get (event .state ().getMetadata ().settings (), settings )) {
249246 logger .debug ("Bootstrapping geoip downloader task for project [{}]" , projectId );
250247 startTask (() -> taskIsBootstrappedByProject .put (projectId , false ));
You can’t perform that action at this time.
0 commit comments