diff options
| author | openai-code-agent[bot] <[email protected]> | 2026-04-28 17:48:08 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-28 17:48:08 +0000 |
| commit | bf3a08f53f060f9ff3503d204f9dc15cee0ff2a5 (patch) | |
| tree | cdc7dc6acdeaca6d5185f1b1824e332bfc982caf /plugin/maxmind/dbip_country_mmdb_out.go | |
| parent | e25f9fcf96d9971e90c3a5df9087d882e4a997a7 (diff) | |
refactor(maxmind): use functional options for mmdb/csv pluginscodex/refactor-plugins-functional-options
Co-authored-by: Loyalsoldier <[email protected]>
Diffstat (limited to 'plugin/maxmind/dbip_country_mmdb_out.go')
| -rw-r--r-- | plugin/maxmind/dbip_country_mmdb_out.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/maxmind/dbip_country_mmdb_out.go b/plugin/maxmind/dbip_country_mmdb_out.go index 77857d95..f246abf2 100644 --- a/plugin/maxmind/dbip_country_mmdb_out.go +++ b/plugin/maxmind/dbip_country_mmdb_out.go @@ -18,7 +18,7 @@ const ( func init() { lib.RegisterOutputConfigCreator(TypeDBIPCountryMMDBOut, func(action lib.Action, data json.RawMessage) (lib.OutputConverter, error) { - return newGeoLite2CountryMMDBOut(TypeDBIPCountryMMDBOut, DescDBIPCountryMMDBOut, action, data) + return NewGeoLite2CountryMMDBOutFromBytes(TypeDBIPCountryMMDBOut, DescDBIPCountryMMDBOut, action, data) }) lib.RegisterOutputConverter(TypeDBIPCountryMMDBOut, &GeoLite2CountryMMDBOut{ Description: DescDBIPCountryMMDBOut, |
