fix deadlock when more than 1 plugin is installed

Signed-off-by: Victor Vieux <vieux@docker.com>
(cherry picked from commit 42360d164b)
Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Victor Vieux 2016-08-03 16:22:12 -07:00 committed by Tibor Vass
parent 2422b48ffb
commit 23b79424c0

View file

@ -326,8 +326,8 @@ func (pm *Manager) init() error {
}
}
}(p)
group.Wait()
}
group.Wait()
return pm.save()
}