aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/xorm.io/xorm/session.go
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2020-09-03 09:58:04 +0800
committerGitHub <noreply@github.com>2020-09-03 02:58:04 +0100
commit514201af5d2e81182c86306f414ced27c8602eb6 (patch)
tree346e37b7b1ac5531dcd7bb50a5a58b4f1d375a01 /vendor/xorm.io/xorm/session.go
parent702e98c5ec7b11f3c988d61dccbec71e1e69a8bd (diff)
downloadgitea-514201af5d2e81182c86306f414ced27c8602eb6.tar.gz
gitea-514201af5d2e81182c86306f414ced27c8602eb6.zip
Upgrade xorm to v1.0.4 (#12694)
Diffstat (limited to 'vendor/xorm.io/xorm/session.go')
-rw-r--r--vendor/xorm.io/xorm/session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/xorm.io/xorm/session.go b/vendor/xorm.io/xorm/session.go
index 48b3779eff..b6ab3eb5bf 100644
--- a/vendor/xorm.io/xorm/session.go
+++ b/vendor/xorm.io/xorm/session.go
@@ -102,7 +102,7 @@ func newSessionID() string {
func newSession(engine *Engine) *Session {
var ctx context.Context
if engine.logSessionID {
- ctx = context.WithValue(engine.defaultContext, log.SessionIDKey, newSessionID())
+ ctx = context.WithValue(engine.defaultContext, log.SessionIDKey, newSessionID())
} else {
ctx = engine.defaultContext
}