|
@@ -49,7 +49,7 @@ type downloader struct {
|
|
func newDownloader(f func() (protocols []string, builder func() fetcher.Fetcher)) *downloader {
|
|
func newDownloader(f func() (protocols []string, builder func() fetcher.Fetcher)) *downloader {
|
|
d := &downloader{
|
|
d := &downloader{
|
|
DefaultController: controller.NewController(),
|
|
DefaultController: controller.NewController(),
|
|
- finishedCh: make(chan error),
|
|
|
|
|
|
+ finishedCh: make(chan error, 1),
|
|
}
|
|
}
|
|
|
|
|
|
d.fetchBuilders = make(map[string]func() fetcher.Fetcher)
|
|
d.fetchBuilders = make(map[string]func() fetcher.Fetcher)
|