From 2bd0031febd1ee052ab852fdc8ed6b62f0509da6 Mon Sep 17 00:00:00 2001 From: Amir Raminfar Date: Wed, 24 Jul 2024 08:03:25 -0700 Subject: [PATCH] chore: fixes async bug --- internal/docker/container_store.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/docker/container_store.go b/internal/docker/container_store.go index 67fb339c..3559fce1 100644 --- a/internal/docker/container_store.go +++ b/internal/docker/container_store.go @@ -99,6 +99,7 @@ func (s *ContainerStore) ListContainers() ([]Container, error) { } func (s *ContainerStore) FindContainer(id string) (Container, error) { + s.wg.Wait() container, ok := s.containers.Load(id) if ok {