1
0
Fork 0
forked from forgejo/forgejo

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)
}