mirror of
https://github.com/go-gitea/gitea
synced 2024-12-22 02:37:54 +01:00
force new INI version
This commit is contained in:
parent
3ffbb54337
commit
4e0c697aaf
@ -85,7 +85,7 @@ func checkVersion() {
|
|||||||
{"github.com/go-macaron/i18n", i18n.Version, "0.2.0"},
|
{"github.com/go-macaron/i18n", i18n.Version, "0.2.0"},
|
||||||
{"github.com/go-macaron/session", session.Version, "0.1.6"},
|
{"github.com/go-macaron/session", session.Version, "0.1.6"},
|
||||||
{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"},
|
{"github.com/go-macaron/toolbox", toolbox.Version, "0.1.0"},
|
||||||
{"gopkg.in/ini.v1", ini.Version, "1.3.4"},
|
{"gopkg.in/ini.v1", ini.Version, "1.8.1"},
|
||||||
}
|
}
|
||||||
for _, c := range checkers {
|
for _, c := range checkers {
|
||||||
if !version.Compare(c.Version(), c.Expected, ">=") {
|
if !version.Compare(c.Version(), c.Expected, ">=") {
|
||||||
|
@ -33,7 +33,7 @@ func NewLogger(bufLen int64, mode, config string) {
|
|||||||
loggers = append(loggers, logger)
|
loggers = append(loggers, logger)
|
||||||
}
|
}
|
||||||
if err := logger.SetLogger(mode, config); err != nil {
|
if err := logger.SetLogger(mode, config); err != nil {
|
||||||
Fatal(1, "Fail to set logger(%s): %v", mode, err)
|
Fatal(2, "Fail to set logger (%s): %v", mode, err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user