diff options
author | Gjergji Ramku <Gjergj@users.noreply.github.com> | 2020-08-20 16:53:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-20 09:53:06 -0500 |
commit | 0c9eb468e9a55f933286a45f366f41a7a4e79637 (patch) | |
tree | 590efa801dddbbaa22638a7c649178ca5714921a /routers/private/hook.go | |
parent | d15bb17b78f8aee3285b5fadf924ac2dc569f790 (diff) | |
download | gitea-0c9eb468e9a55f933286a45f366f41a7a4e79637.tar.gz gitea-0c9eb468e9a55f933286a45f366f41a7a4e79637.zip |
Fix typos (#12542)
Signed-off-by: Gjergji Ramku <gjergjiramku@gmail.com>
Diffstat (limited to 'routers/private/hook.go')
-rw-r--r-- | routers/private/hook.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/private/hook.go b/routers/private/hook.go index 215793c970..6cdc5393f4 100644 --- a/routers/private/hook.go +++ b/routers/private/hook.go @@ -557,7 +557,7 @@ func SetDefaultBranch(ctx *macaron.Context) { if !git.IsErrUnsupportedVersion(err) { gitRepo.Close() ctx.JSON(http.StatusInternalServerError, map[string]interface{}{ - "Err": fmt.Sprintf("Unable to set default branch onrepository: %s/%s Error: %v", ownerName, repoName, err), + "Err": fmt.Sprintf("Unable to set default branch on repository: %s/%s Error: %v", ownerName, repoName, err), }) return } @@ -566,7 +566,7 @@ func SetDefaultBranch(ctx *macaron.Context) { if err := repo.UpdateDefaultBranch(); err != nil { ctx.JSON(http.StatusInternalServerError, map[string]interface{}{ - "Err": fmt.Sprintf("Unable to set default branch onrepository: %s/%s Error: %v", ownerName, repoName, err), + "Err": fmt.Sprintf("Unable to set default branch on repository: %s/%s Error: %v", ownerName, repoName, err), }) return } |