aboutsummaryrefslogtreecommitdiff
path: root/internal/db/update.go
diff options
context:
space:
mode:
authorᴜɴᴋɴᴡᴏɴ <u@gogs.io>2020-02-20 02:25:02 +0800
committerGitHub <noreply@github.com>2020-02-20 02:25:02 +0800
commit1c09373b4f7dbc68154c817b4ee44bfa3b3f637c (patch)
treeaeec9a80d10f9ef28f0d0b128f8a84bf3cb5bdb1 /internal/db/update.go
parent422a20648466f270de195dce3bca04e977bacd13 (diff)
log: migrate to unknwon.dev/clog/v2 (#5927)
* Add unknwon.dev/clog/v2 * Update all places
Diffstat (limited to 'internal/db/update.go')
-rw-r--r--internal/db/update.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/update.go b/internal/db/update.go
index 6555a479..e8fc41ed 100644
--- a/internal/db/update.go
+++ b/internal/db/update.go
@@ -67,7 +67,7 @@ func PushUpdate(opts PushUpdateOptions) (err error) {
gitUpdate := exec.Command("git", "update-server-info")
gitUpdate.Dir = repoPath
if err = gitUpdate.Run(); err != nil {
- return fmt.Errorf("Fail to call 'git update-server-info': %v", err)
+ return fmt.Errorf("run 'git update-server-info': %v", err)
}
gitRepo, err := git.OpenRepository(repoPath)