mirror of
https://github.com/go-gitea/gitea
synced 2025-08-12 04:28:21 +00:00
Backport: Fix lint, fmt and integration testing errors (#2553)
* Fix lint errors * Fix fmt errors (#2544) * Hotfix for integration testing (#2473) * Hotfix for integration testing
This commit is contained in:
@@ -276,11 +276,7 @@ func DeleteGPGKey(doer *User, id int64) (err error) {
|
||||
return err
|
||||
}
|
||||
|
||||
if err = sess.Commit(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return sess.Commit()
|
||||
}
|
||||
|
||||
// CommitVerification represents a commit validation of signature
|
||||
|
Reference in New Issue
Block a user