summaryrefslogtreecommitdiffstats
path: root/models/context.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-06-16 04:46:01 +0800
committerGitHub <noreply@github.com>2020-06-15 16:46:01 -0400
commitcdef92b3ffc7dcbc0f4ee26f7f973ca2b28fea61 (patch)
tree0bf6d1d054affe3dd04daaa92e35fa1e50d8ade1 /models/context.go
parent492b7d63576cc18c5de70cb0fa061b97d67bf227 (diff)
downloadgitea-cdef92b3ffc7dcbc0f4ee26f7f973ca2b28fea61.tar.gz
gitea-cdef92b3ffc7dcbc0f4ee26f7f973ca2b28fea61.zip
Upgrade xorm to v1.0.2 (#11900)
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'models/context.go')
-rw-r--r--models/context.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/context.go b/models/context.go
index 6b8b9af570..4fbd3b6699 100644
--- a/models/context.go
+++ b/models/context.go
@@ -23,7 +23,7 @@ func DefaultDBContext() DBContext {
// Committer represents an interface to Commit or Close the dbcontext
type Committer interface {
Commit() error
- Close()
+ Close() error
}
// TxDBContext represents a transaction DBContext