From 617ef1ea73b058290a0b0b7ff471fbd6ef381dbd Mon Sep 17 00:00:00 2001 From: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com> Date: Sun, 11 Aug 2024 02:46:52 +0800 Subject: Fix: type in error --- plugin/maxmind/country_csv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugin/maxmind') 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 := "" -- cgit v1.3.1