diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-13 03:14:43 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-13 03:14:43 -0400 |
commit | 9d983f27d69b72f42eeb833cb0f38e78e3819839 (patch) | |
tree | 41fe885c7ee0a2ddfca1e3f2c8597b692167ead7 /models/update.go | |
parent | 5c2da610a2cfd3fa9666d20739e054c3588b4d05 (diff) | |
download | gitea-9d983f27d69b72f42eeb833cb0f38e78e3819839.tar.gz gitea-9d983f27d69b72f42eeb833cb0f38e78e3819839.zip |
go vet
Diffstat (limited to 'models/update.go')
-rw-r--r-- | models/update.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/models/update.go b/models/update.go index 53591fa42e..ba0e979348 100644 --- a/models/update.go +++ b/models/update.go @@ -39,12 +39,12 @@ func Update(refName, oldCommitId, newCommitId, userName, repoName string, userId if isNew { l, err = newCommit.CommitsBefore() if err != nil { - qlog.Fatalf("Find CommitsBefore erro:", err) + qlog.Fatalf("Find CommitsBefore erro: %v", err) } } else { l, err = newCommit.CommitsBeforeUntil(oldCommitId) if err != nil { - qlog.Fatalf("Find CommitsBeforeUntil erro:", err) + qlog.Fatalf("Find CommitsBeforeUntil erro: %v", err) return } } |