From d8051ea1bec938b8b1d1fe6e8e51a02cdb2769c8 Mon Sep 17 00:00:00 2001 From: travisturner Date: Mon, 16 Dec 2013 10:11:04 -0600 Subject: [PATCH] add fragment_container so Cruncher builds --- cruncher/cruncher.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cruncher/cruncher.go b/cruncher/cruncher.go index 47db56d36..61bf8ac4b 100644 --- a/cruncher/cruncher.go +++ b/cruncher/cruncher.go @@ -33,7 +33,8 @@ func (cruncher *Cruncher) Run(port int) { func NewCruncher() *Cruncher { service := core.NewService() - cruncher := Cruncher{*service, make(chan bool)} + fragment_container := index.NewFragmentContainer() + cruncher := Cruncher{*service, make(chan bool), fragment_container} cruncher.Transport = transport.NewTcpTransport(service) cruncher.Dispatch = dispatch.NewCruncherDispatch(service) return &cruncher