Skip to content

Commit 4e2eefa

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent d0721e6 commit 4e2eefa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/GeoIpDownloaderTaskExecutor.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)