Merge pull request #1711 from ndeloof/rename_race

prevent race condition renaming containers
This commit is contained in:
Nicolas De loof 2021-05-25 20:53:10 +02:00 committed by GitHub
commit 2605aae33f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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