From ada98c56c0d056a1facaad9b2841c32e7727cc22 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Wed, 25 Mar 2015 00:15:34 -0700 Subject: [PATCH] Fix minio hang in donut driver. remove sending err to errorChannel until we figure out the right fix. --- pkg/drivers/donut/donut.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkg/drivers/donut/donut.go b/pkg/drivers/donut/donut.go index ae2dcc09e..fcb0a25c8 100644 --- a/pkg/drivers/donut/donut.go +++ b/pkg/drivers/donut/donut.go @@ -44,11 +44,7 @@ func Start(path string) (chan<- string, <-chan error, drivers.Driver) { s := new(donutDriver) // TODO donut driver should be passed in as Start param and driven by config - var err error - s.donut, err = donut.NewDonut(path) - if err != nil { - errorChannel <- err - } + s.donut, _ = donut.NewDonut(path) go start(ctrlChannel, errorChannel, s) return ctrlChannel, errorChannel, s