diff --git a/roomserver/storage/shared/latest_events_updater.go b/roomserver/storage/shared/latest_events_updater.go index 43c0b2bbd..b316f639d 100644 --- a/roomserver/storage/shared/latest_events_updater.go +++ b/roomserver/storage/shared/latest_events_updater.go @@ -22,7 +22,7 @@ func rollback(txn *sql.Tx) { if txn == nil { return } - txn.Rollback() // noline: errcheck + txn.Rollback() // nolint: errcheck } func NewLatestEventsUpdater(ctx context.Context, d *Database, txn *sql.Tx, roomInfo types.RoomInfo) (*LatestEventsUpdater, error) {