mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
Merge pull request #360 from harshavardhana/pr_out_fix_minio_hang_in_donut_driver
This commit is contained in:
commit
bbaa72f67d
@ -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…
Reference in New Issue
Block a user