mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-07 16:16:37 +08:00
[修复] 移除不必要的日志记录
This commit is contained in:
@@ -3,7 +3,6 @@ package geoip
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"log/slog"
|
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"os"
|
"os"
|
||||||
@@ -146,6 +145,5 @@ func (s *MaxMindGeoIPService) Close() error {
|
|||||||
return fmt.Errorf("error closing MaxMind database: %w", err)
|
return fmt.Errorf("error closing MaxMind database: %w", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
slog.Info("MaxMind GeoIP service closed.")
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user