fix(notice): fix the buf of notice with null record field (#31)

This commit is contained in:
Li4n0
2021-06-21 23:38:04 +08:00
committed by GitHub
parent 6205772a59
commit ef38cbc790
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -58,7 +58,6 @@ func extractTarGz(gzipStream io.Reader) error {
switch header.Typeflag {
case tar.TypeReg:
log.Trace(header.Name)
if !strings.HasSuffix(header.Name, "GeoLite2-City.mmdb") {
continue
}