mirror of
https://github.com/coredns/coredns.git
synced 2025-12-12 13:25:11 -05:00
plugin/geoip: Upgrade to geoip2-golang v2 (#7732)
Signed-off-by: Eric Case <eric.case@gmail.com>
This commit is contained in:
@@ -6,7 +6,7 @@ import (
|
||||
|
||||
"github.com/coredns/coredns/plugin/metadata"
|
||||
|
||||
"github.com/oschwald/geoip2-golang"
|
||||
"github.com/oschwald/geoip2-golang/v2"
|
||||
)
|
||||
|
||||
func (g GeoIP) setASNMetadata(ctx context.Context, data *geoip2.ASN) {
|
||||
|
||||
Reference in New Issue
Block a user