mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-21 21:33:18 +01:00
chore: fixes async bug
This commit is contained in:
@@ -99,6 +99,7 @@ func (s *ContainerStore) ListContainers() ([]Container, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *ContainerStore) FindContainer(id string) (Container, error) {
|
func (s *ContainerStore) FindContainer(id string) (Container, error) {
|
||||||
|
s.wg.Wait()
|
||||||
container, ok := s.containers.Load(id)
|
container, ok := s.containers.Load(id)
|
||||||
|
|
||||||
if ok {
|
if ok {
|
||||||
|
|||||||
Reference in New Issue
Block a user