#3045 fix DEPRECATED Action signature erorr

This commit is contained in:
Unknwon committed 2016-05-12 14:32:28 -04:00
1 parent 8a2347592d
commit 7826eae452
10 files changed
+30 -18

No files matched your search

+3 -1
View File
@@ -175,7 +175,7 @@ func newMacaron() *macaron.Macaron {
return m
}
func runWeb(ctx *cli.Context) {
func runWeb(ctx *cli.Context) error {
if ctx.IsSet("config") {
setting.CustomConf = ctx.String("config")
}
@@ -585,4 +585,6 @@ func runWeb(ctx *cli.Context) {
if err != nil {
log.Fatal(4, "Fail to start server: %v", err)
}
return nil
}