logswan

Fast Web log analyzer using probabilistic data structures
Log | Files | Refs | README | LICENSE

commit 7515ef039532180cdc0142087f52d5e6139fa473
parent 499841d69c75f6abc682e861bcc364760f2bc63f
Author: Frederic Cambus <fred@statdns.com>
Date:   Fri, 28 Aug 2020 17:33:48 +0200

Rename 'iso_code' field to 'code' in the continent map.

Diffstat:
Mtests/logswan.pl | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/logswan.pl b/tests/logswan.pl @@ -9,6 +9,7 @@ my %types = ( names => 'map', continent => 'map', country => 'map', + code => 'utf8_string', iso_code => 'utf8_string', en => 'utf8_string' ); @@ -23,22 +24,22 @@ my $tree = MaxMind::DB::Writer::Tree->new( ); my $au = { - continent => { iso_code => "OC", names => { en => "Oceania" } }, + continent => { code => "OC", names => { en => "Oceania" } }, country => { iso_code => "AU", names => { en => "Australia" } } }; my $de = { - continent => { iso_code => "EU", names => { en => "Europe" } }, + continent => { code => "EU", names => { en => "Europe" } }, country => { iso_code => "DE", names => { en => "Germany" } } }; my $fr = { - continent => { iso_code => "EU", names => { en => "Europe" } }, + continent => { code => "EU", names => { en => "Europe" } }, country => { iso_code => "FR", names => { en => "France" } } }; my $us = { - continent => { iso_code => "NA", names => { en => "North America" } }, + continent => { code => "NA", names => { en => "North America" } }, country => { iso_code => "US", names => { en => "United States" } } };