Skip to content

Commit 5697f7f

Browse files
authored
Make GeoIpDownload work for default project explicitly (#123845)
GeoIpDownloaderTaskExecutor needs to be made project aware eventually. In the meantime, to unblock tests, this PR makes the stopping action work explicitly for the default project only.
1 parent dbac70e commit 5697f7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ private void stopTask(Runnable onFailure) {
398398
ActionListener.runAfter(listener, () -> {
399399
IndexAbstraction databasesAbstraction = clusterService.state()
400400
.metadata()
401-
.getProject()
401+
.getDefaultProject()
402402
.getIndicesLookup()
403403
.get(DATABASES_INDEX);
404404
if (databasesAbstraction != null) {

0 commit comments

Comments
 (0)