Skip to content

Commit c04b088

Browse files
committed
Small fix
1 parent 12dc028 commit c04b088

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

modules/ingest-geoip/src/main/java/org/elasticsearch/ingest/geoip/direct/TransportPutDatabaseConfigurationAction.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ ClusterState execute(ClusterState currentState) throws Exception {
160160
}
161161

162162
return ClusterState.builder(currentState)
163-
.putProjectMetadata(
164-
ProjectMetadata.builder(project).putCustom(IngestGeoIpMetadata.TYPE, new IngestGeoIpMetadata(databases))
165-
)
163+
.putProjectMetadata(ProjectMetadata.builder(project).putCustom(IngestGeoIpMetadata.TYPE, geoIpMeta))
166164
.build();
167165
}
168166

0 commit comments

Comments
 (0)