diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index e879cc9b..7ea95adf 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -1,6 +1,6 @@ { "ImportPath": "github.com/fatedier/frp", - "GoVersion": "go1.8", + "GoVersion": "go1.6", "GodepVersion": "v79", "Packages": [ "./..." @@ -18,8 +18,8 @@ }, { "ImportPath": "github.com/fatedier/beego/logs", - "Comment": "v1.7.2-70-gcd7a213", - "Rev": "cd7a213b889b290cf450e1dd51398af12e5a10d4" + "Comment": "v1.7.2-71-gc12472d", + "Rev": "c12472d5e4365d2927f5fba8e9260a3e3d51fa52" }, { "ImportPath": "github.com/golang/snappy", diff --git a/vendor/github.com/fatedier/beego/logs/file.go b/vendor/github.com/fatedier/beego/logs/file.go index bd3c22a9..a7276523 100644 --- a/vendor/github.com/fatedier/beego/logs/file.go +++ b/vendor/github.com/fatedier/beego/logs/file.go @@ -270,7 +270,7 @@ func (w *fileLogWriter) doRotate(logTime time.Time) error { // Rename the file to its new found name // even if occurs error,we MUST guarantee to restart new logger err = os.Rename(w.Filename, fName) - err = os.Chmod(fName, os.FileMode(440)) + err = os.Chmod(fName, os.FileMode(0440)) // re-start logger RESTART_LOGGER: