aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-15 17:06:17 +0800
committerUnknwon <u@gogs.io>2016-07-15 17:06:17 +0800
commit194a742fb922c20db0a70100e5f2aaadf03c2acf (patch)
treea14112ccd11a39c1a1990ac58892cf4f6a8952cd
parent160956dd31aaacc46df2c36708311ac3efd2e10d (diff)
downloadgitea-194a742fb922c20db0a70100e5f2aaadf03c2acf.tar.gz
gitea-194a742fb922c20db0a70100e5f2aaadf03c2acf.zip
#2798 fix assign operation not take effect
-rw-r--r--README.md2
-rw-r--r--gogs.go2
-rw-r--r--modules/log/log.go4
-rw-r--r--templates/.VERSION2
4 files changed, 5 insertions, 5 deletions
diff --git a/README.md b/README.md
index 0e8fde1ec7..2f9c25d8ca 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@ Gogs - Go Git Service [![Build Status](https://travis-ci.org/gogits/gogs.svg?bra
![](https://github.com/gogits/gogs/blob/master/public/img/gogs-large-resize.png?raw=true)
-##### 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 |
|:-------------:|:-------:|:-------:|
diff --git a/gogs.go b/gogs.go
index 72b1ba7eee..b44a6c2895 100644
--- a/gogs.go
+++ b/gogs.go
@@ -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 5e4bf6c120..41be414051 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 d056cf2e86..3cadfff87f 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