diff options
author | Bwko <bouwko@gmail.com> | 2016-12-28 09:33:21 +0100 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2016-12-28 16:33:21 +0800 |
commit | 331316894e391beb29fdebf9d8088973759bba1c (patch) | |
tree | e80827f0c2a87006c1601d3f1e93611644722a3a /models/ssh_key.go | |
parent | f686a32eac75460d5b1fcf16b6f6c2ed57f5b03e (diff) | |
download | gitea-331316894e391beb29fdebf9d8088973759bba1c.tar.gz gitea-331316894e391beb29fdebf9d8088973759bba1c.zip |
Replace Gogs with Gitea (#520)
Diffstat (limited to 'models/ssh_key.go')
-rw-r--r-- | models/ssh_key.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/ssh_key.go b/models/ssh_key.go index f98a6b76f4..d7d71f68cb 100644 --- a/models/ssh_key.go +++ b/models/ssh_key.go @@ -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) } |