server fix

This commit is contained in:
alessio 2017-03-20 01:14:56 +01:00
parent f8fb01f459
commit f8f133c631
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func init() {
Errors: errs, Errors: errs,
}, },
Server: c.Server{ Server: c.Server{
Status: true, Status: false,
Open: false, Open: false,
Host: host, Host: host,
Port: port, Port: port,
@ -261,6 +261,7 @@ func main() {
Msg: "Enable legacy watch by polling", Msg: "Enable legacy watch by polling",
Resolve: func(d i.Context) bool { Resolve: func(d i.Context) bool {
val, _ := d.Ans().Bool() val, _ := d.Ans().Bool()
fmt.Println(val)
return val return val
}, },
}, },