diff options
author | Unknwon <u@gogs.io> | 2018-09-14 22:48:35 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2018-09-14 22:48:35 -0400 |
commit | f8302c5470e362678d856e50d50dda104f79d847 (patch) | |
tree | 0d4c77ae2fcfff3345106408336f581ca6fb15fe /routes | |
parent | 7a7e07a57c232b11bdaf713011e574420fb280e4 (diff) |
ci: fix go vet and add Go 1.11.x
Diffstat (limited to 'routes')
-rw-r--r-- | routes/repo/branch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/repo/branch.go b/routes/repo/branch.go index 072234ce..432ebe86 100644 --- a/routes/repo/branch.go +++ b/routes/repo/branch.go @@ -124,7 +124,7 @@ func DeleteBranchPost(c *context.Context) { if len(commitID) > 0 { branchCommitID, err := c.Repo.GitRepo.GetBranchCommitID(branchName) if err != nil { - log.Error(2, "Failed to get commit ID of branch %q: %v", err) + log.Error(2, "Failed to get commit ID of branch %q: %v", branchName, err) return } |