server fix
This commit is contained in:
parent
f8fb01f459
commit
f8f133c631
|
@ -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
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue