prevent race condition renaming containers

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2021-05-25 14:02:07 +02:00
parent ccaa1754d4
commit 5f09e330fb
No known key found for this signature in database
GPG Key ID: 9858809D6F8F6E7E
1 changed files with 1 additions and 0 deletions

View File

@ -105,6 +105,7 @@ func (s *composeService) ensureService(ctx context.Context, project *types.Proje
}
for _, container := range actual {
container := container
name := getContainerProgressName(container)
diverged := container.Labels[configHashLabel] != expected