diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | modules/log/log.go | 4 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
4 files changed, 5 insertions, 5 deletions
@@ -3,7 +3,7 @@ Gogs - Go Git Service [ -##### Current tip version: 0.9.42 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions) +##### Current tip version: 0.9.43 (see [Releases](https://github.com/gogits/gogs/releases) for binary versions) | Web | UI | Preview | |:-------------:|:-------:|:-------:| @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.42.0712" +const APP_VER = "0.9.43.0715" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/modules/log/log.go b/modules/log/log.go index 5e4bf6c1..41be4140 100644 --- a/modules/log/log.go +++ b/modules/log/log.go @@ -23,10 +23,10 @@ func NewLogger(bufLen int64, mode, config string) { logger := newLogger(bufLen) isExist := false - for _, l := range loggers { + for i, l := range loggers { if l.adapter == mode { isExist = true - l = logger + loggers[i] = logger } } if !isExist { diff --git a/templates/.VERSION b/templates/.VERSION index d056cf2e..3cadfff8 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.42.0712
\ No newline at end of file +0.9.43.0715
\ No newline at end of file |