summaryrefslogtreecommitdiff
path: root/plugin/maxmind
diff options
context:
space:
mode:
authorLoyalsoldier <[email protected]>2024-08-11 02:46:52 +0800
committerLoyalsoldier <[email protected]>2024-08-11 02:46:52 +0800
commit617ef1ea73b058290a0b0b7ff471fbd6ef381dbd (patch)
tree1d2d805edc2b0e42bce003f32700faf6c41ae3f1 /plugin/maxmind
parentffa1a3145e05eb2c02738e5b5f9ce45609edc5fa (diff)
Fix: type in error
Diffstat (limited to 'plugin/maxmind')
-rw-r--r--plugin/maxmind/country_csv.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/maxmind/country_csv.go b/plugin/maxmind/country_csv.go
index bab176d0..15c80719 100644
--- a/plugin/maxmind/country_csv.go
+++ b/plugin/maxmind/country_csv.go
@@ -213,7 +213,7 @@ func (g *geoLite2CountryCSV) process(file string, ccMap map[string]string, entri
}
if len(record) < 4 {
- return fmt.Errorf("❌ [type %s | action %s] invalid record: %v", typeASNCSV, g.Action, record)
+ return fmt.Errorf("❌ [type %s | action %s] invalid record: %v", typeCountryCSV, g.Action, record)
}
ccID := ""