Skip to content

Commit

Permalink
Fix: type in error
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Aug 10, 2024
1 parent ffa1a31 commit 617ef1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/maxmind/country_csv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 := ""
Expand Down

0 comments on commit 617ef1e

Please sign in to comment.