Skip to content
This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Commit 2605aae

Browse files
authored
Merge pull request #1711 from ndeloof/rename_race
prevent race condition renaming containers
2 parents d16a5f4 + 5f09e33 commit 2605aae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

local/compose/convergence.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ func (s *composeService) ensureService(ctx context.Context, project *types.Proje
105105
}
106106

107107
for _, container := range actual {
108+
container := container
108109
name := getContainerProgressName(container)
109110

110111
diverged := container.Labels[configHashLabel] != expected

0 commit comments

Comments
 (0)