Update dependencies and fix some linter warnings

This commit is contained in:
2022-08-28 02:23:36 +02:00
parent 0ed71be705
commit d2fa727990
14 changed files with 148 additions and 42 deletions

View File

@@ -53,7 +53,7 @@ RETURNING id;`
if err != nil {
return err
}
defer tx.Rollback()
defer tx.Rollback() // nolint: errcheck
var id int
if err := tx.QueryRow(stmt, l.Date, l.RemoteIP.String(), l.Username, l.Password, l.SSHClientVersion, l.ConnectionUUID, l.Country).Scan(&id); err != nil {