This commit is contained in:
huangsimin 2018-12-19 18:22:40 +08:00
parent 917a9d0ef0
commit 937ae3c546

View File

@ -144,7 +144,8 @@ func (p *Parser) ConfigQueue(yamlpath string) {
panic(err)
}
err = yaml.Unmarshal(data, &p.que)
log.Println(string(data))
err = yaml.Unmarshal(data, p.que)
if err != nil {
panic(err)
}