diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2020-09-03 09:58:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-03 02:58:04 +0100 |
commit | 514201af5d2e81182c86306f414ced27c8602eb6 (patch) | |
tree | 346e37b7b1ac5531dcd7bb50a5a58b4f1d375a01 /vendor/xorm.io/xorm/session.go | |
parent | 702e98c5ec7b11f3c988d61dccbec71e1e69a8bd (diff) | |
download | gitea-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.go | 2 |
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 } |