Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-05-07 15:57:46 +04:00
parent ac458e526f
commit 245b9ef7c1

View File

@@ -162,7 +162,7 @@ func parseCIDRFile(path string) ([]string, error) {
if err != nil {
return nil, err
}
defer f.Close()
defer func() { _ = f.Close() }()
var cidrs []string
scanner := bufio.NewScanner(f)