Merge pull request #360 from harshavardhana/pr_out_fix_minio_hang_in_donut_driver

This commit is contained in:
Harshavardhana 2015-03-25 00:16:22 -07:00
commit bbaa72f67d

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