mirror of
https://github.com/docker/compose.git
synced 2025-07-23 05:34:36 +02:00
Fix slice access
Signed-off-by: Mathieu Champlon <mathieu.champlon@docker.com>
This commit is contained in:
parent
9317ffc0ab
commit
2d0d3881ac
@ -230,7 +230,7 @@ func (c *convergence) ensureService(ctx context.Context, project *types.Project,
|
|||||||
i := i
|
i := i
|
||||||
eg.Go(func() error {
|
eg.Go(func() error {
|
||||||
container, err := c.service.createContainer(ctx, project, service, name, number, false, true)
|
container, err := c.service.createContainer(ctx, project, service, name, number, false, true)
|
||||||
updated[actual+i-1] = container
|
updated[actual+i] = container
|
||||||
return err
|
return err
|
||||||
})
|
})
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user