Merge pull request #1711 from ndeloof/rename_race
prevent race condition renaming containers
This commit is contained in:
commit
2605aae33f
@ -105,6 +105,7 @@ func (s *composeService) ensureService(ctx context.Context, project *types.Proje
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, container := range actual {
|
for _, container := range actual {
|
||||||
|
container := container
|
||||||
name := getContainerProgressName(container)
|
name := getContainerProgressName(container)
|
||||||
|
|
||||||
diverged := container.Labels[configHashLabel] != expected
|
diverged := container.Labels[configHashLabel] != expected
|
||||||
|
Loading…
x
Reference in New Issue
Block a user