From 937ae3c546d92f8fe6f93f5c043d6ec85dcf4355 Mon Sep 17 00:00:00 2001 From: huangsimin Date: Wed, 19 Dec 2018 18:22:40 +0800 Subject: [PATCH] 123 --- parser.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parser.go b/parser.go index e972ab3..171848b 100644 --- a/parser.go +++ b/parser.go @@ -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) }