Update dependencies and fix some linter warnings
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user