Fix minio hang in donut driver.

remove sending err to errorChannel until we figure out the right fix.
This commit is contained in:
Harshavardhana 2015-03-25 00:15:34 -07:00
parent 938a0fa4a9
commit ada98c56c0

View File

@ -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