Skip to content

Commit 24cd03c

Browse files
committed
Remove NotMultiProjectCapable
1 parent e281e0a commit 24cd03c

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/DatabaseNodeService.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -341,10 +341,7 @@ void checkDatabases(ProjectState projectState) {
341341

342342
// process the geoip task state for the enterprise geoip downloader
343343
{
344-
@NotMultiProjectCapable(description = "Enterprise GeoIP not supported in serverless")
345-
EnterpriseGeoIpTaskState taskState = getEnterpriseGeoIpTaskState(
346-
projectState.cluster().metadata().getProject(ProjectId.DEFAULT)
347-
);
344+
EnterpriseGeoIpTaskState taskState = getEnterpriseGeoIpTaskState(projectState.metadata());
348345
if (taskState == null) {
349346
// Note: an empty state will purge stale entries in databases map
350347
taskState = EnterpriseGeoIpTaskState.EMPTY;

0 commit comments

Comments
 (0)