From 154fbb34eace2f1568f034d004f27973f6fa5d0a Mon Sep 17 00:00:00 2001 From: metacubex Date: Tue, 21 Mar 2023 00:45:25 +0800 Subject: [PATCH] fix: log typo --- component/geodata/memconservative/cache.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/component/geodata/memconservative/cache.go b/component/geodata/memconservative/cache.go index 28c2c238..ca78d19d 100644 --- a/component/geodata/memconservative/cache.go +++ b/component/geodata/memconservative/cache.go @@ -118,7 +118,7 @@ func (g GeoSiteCache) Unmarshal(filename, code string) (*router.GeoSite, error) case errFailedToReadBytes, errFailedToReadExpectedLenBytes, errInvalidGeodataFile, errInvalidGeodataVarintLength: - log.Warnln("failed to decode geoip file: %s%s", filename, ", fallback to the original ReadFile method") + log.Warnln("failed to decode geosite file: %s%s", filename, ", fallback to the original ReadFile method") geositeBytes, err = os.ReadFile(asset) if err != nil { return nil, err