summaryrefslogtreecommitdiff
path: root/plugin/maxmind/maxmind_country_mmdb_out.go
diff options
context:
space:
mode:
authoropenai-code-agent[bot] <[email protected]>2026-04-28 17:48:08 +0000
committerGitHub <[email protected]>2026-04-28 17:48:08 +0000
commitbf3a08f53f060f9ff3503d204f9dc15cee0ff2a5 (patch)
treecdc7dc6acdeaca6d5185f1b1824e332bfc982caf /plugin/maxmind/maxmind_country_mmdb_out.go
parente25f9fcf96d9971e90c3a5df9087d882e4a997a7 (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/maxmind_country_mmdb_out.go')
-rw-r--r--plugin/maxmind/maxmind_country_mmdb_out.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/maxmind/maxmind_country_mmdb_out.go b/plugin/maxmind/maxmind_country_mmdb_out.go
index fc72e83c..715f04d0 100644
--- a/plugin/maxmind/maxmind_country_mmdb_out.go
+++ b/plugin/maxmind/maxmind_country_mmdb_out.go
@@ -22,7 +22,7 @@ const (
func init() {
lib.RegisterOutputConfigCreator(TypeGeoLite2CountryMMDBOut, func(action lib.Action, data json.RawMessage) (lib.OutputConverter, error) {
- return newGeoLite2CountryMMDBOut(TypeGeoLite2CountryMMDBOut, DescGeoLite2CountryMMDBOut, action, data)
+ return NewGeoLite2CountryMMDBOutFromBytes(TypeGeoLite2CountryMMDBOut, DescGeoLite2CountryMMDBOut, action, data)
})
lib.RegisterOutputConverter(TypeGeoLite2CountryMMDBOut, &GeoLite2CountryMMDBOut{
Description: DescGeoLite2CountryMMDBOut,