This is an automated email from the ASF dual-hosted git repository.

exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new b95f943ac8 NIFI-14551 Removed the use of MetroCode in IPLookupService 
(#9928)
b95f943ac8 is described below

commit b95f943ac8deacc0a3015c4cf6c5911f906a66aa
Author: dan-s1 <[email protected]>
AuthorDate: Sat May 10 12:42:27 2025 -0400

    NIFI-14551 Removed the use of MetroCode in IPLookupService (#9928)
    
    Signed-off-by: David Handermann <[email protected]>
---
 .../src/main/java/org/apache/nifi/lookup/maxmind/IPLookupService.java    | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/nifi-extension-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/src/main/java/org/apache/nifi/lookup/maxmind/IPLookupService.java
 
b/nifi-extension-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/src/main/java/org/apache/nifi/lookup/maxmind/IPLookupService.java
index 5f81ea60bb..e6a7f7a3e6 100644
--- 
a/nifi-extension-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/src/main/java/org/apache/nifi/lookup/maxmind/IPLookupService.java
+++ 
b/nifi-extension-bundles/nifi-standard-services/nifi-lookup-services-bundle/nifi-lookup-services/src/main/java/org/apache/nifi/lookup/maxmind/IPLookupService.java
@@ -401,7 +401,6 @@ public class IPLookupService extends 
AbstractControllerService implements Record
 
         final Location location = city.getLocation();
         values.put(CitySchema.ACCURACY.getFieldName(), 
location.getAccuracyRadius());
-        values.put(CitySchema.METRO_CODE.getFieldName(), 
location.getMetroCode());
         values.put(CitySchema.TIMEZONE.getFieldName(), location.getTimeZone());
         values.put(CitySchema.LATITUDE.getFieldName(), location.getLatitude());
         values.put(CitySchema.LONGITUDE.getFieldName(), 
location.getLongitude());

Reply via email to