Merge pull request #360 from harshavardhana/pr_out_fix_minio_hang_in_donut_driver

master
Harshavardhana 10 years ago
commit bbaa72f67d
  1. 6
      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

Loading…
Cancel
Save