1
1
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:
Ethan Koenig
2017-09-20 09:30:20 -07:00
committed by Lauris BH
parent d14a724b53
commit f014e42a06
13 changed files with 12 additions and 49 deletions

View File

@@ -609,11 +609,7 @@ func RewriteAllPublicKeys() error {
defer f.Close()
}
if err = os.Rename(tmpPath, fPath); err != nil {
return err
}
return nil
return os.Rename(tmpPath, fPath)
}
// ________ .__ ____ __.