chore(gosec): enable gosec and address findings

This commit is contained in:
Hein
2026-09-30 13:16:12 +02:00
parent 9533c3a0ed
commit f66930c3c9
37 changed files with 133 additions and 122 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ func (p *MSSQLProvider) Connect(ctx context.Context, cfg ConnectionConfig) error
if err != nil {
lastErr = err
db.Close()
db.Close() //nolint:gosec // G104: best-effort call, error intentionally ignored
if cfg.GetEnableLogging() {
logger.Warn("Failed to ping MSSQL database: %v", err)
}