From 81e2294dd7332888aa5b560b66b106d124586810 Mon Sep 17 00:00:00 2001 From: huangsimin Date: Wed, 19 Dec 2018 18:20:03 +0800 Subject: [PATCH] 123 --- parser.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parser.go b/parser.go index 5b36126..16a093a 100644 --- a/parser.go +++ b/parser.go @@ -143,11 +143,13 @@ func (p *Parser) ConfigQueue(yamlpath string) { if err != nil { panic(err) } + err = yaml.Unmarshal(data, p.que) if err != nil { panic(err) } + log.Println(p.que) if err := p.que.Connect(); err != nil { panic(err) }