1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

Replace Gogs with Gitea (#520)

This commit is contained in:
Bwko
2016-12-28 09:33:21 +01:00
committed by Lunny Xiao
parent f686a32eac
commit 331316894e
8 changed files with 29 additions and 29 deletions

View File

@ -172,7 +172,7 @@ func parseKeyString(content string) (string, error) {
// writeTmpKeyFile writes key content to a temporary file
// and returns the name of that file, along with any possible errors.
func writeTmpKeyFile(content string) (string, error) {
tmpFile, err := ioutil.TempFile(setting.SSH.KeyTestPath, "gogs_keytest")
tmpFile, err := ioutil.TempFile(setting.SSH.KeyTestPath, "gitea_keytest")
if err != nil {
return "", fmt.Errorf("TempFile: %v", err)
}