Browse Source

Minor code fix for PR #3602

Closes #1122
pull/3740/merge
Unknwon 8 years ago
parent
commit
89e93fe01e
No known key found for this signature in database
GPG Key ID: FB9F411CDD69BEC1
  1. 8
      modules/bindata/bindata.go
  2. 2
      modules/setting/setting.go

8
modules/bindata/bindata.go

File diff suppressed because one or more lines are too long

2
modules/setting/setting.go

@ -675,7 +675,7 @@ func newLogService() {
sec.Key("USER").MustString("example@example.com"), sec.Key("USER").MustString("example@example.com"),
sec.Key("PASSWD").MustString("******"), sec.Key("PASSWD").MustString("******"),
sec.Key("HOST").MustString("127.0.0.1:25"), sec.Key("HOST").MustString("127.0.0.1:25"),
strings.Replace(sec.Key("RECEIVERS").MustString("example@example.com"), ",", "\",\"", -1), strings.Replace(sec.Key("RECEIVERS").MustString(""), ",", `","`, -1),
sec.Key("SUBJECT").MustString("Diagnostic message from serve")) sec.Key("SUBJECT").MustString("Diagnostic message from serve"))
case "database": case "database":
LogConfigs[i] = fmt.Sprintf(`{"level":%s,"driver":"%s","conn":"%s"}`, level, LogConfigs[i] = fmt.Sprintf(`{"level":%s,"driver":"%s","conn":"%s"}`, level,

Loading…
Cancel
Save