Fix spellcheck and enable more dirs (#3603)

This commit is contained in:
qwerty287
2024-04-09 09:04:53 +02:00
committed by GitHub
parent 8e45ddd58b
commit c9a3bfb321
10 changed files with 26 additions and 17 deletions

View File

@@ -213,7 +213,7 @@ func (e *docker) StartStep(ctx context.Context, step *backend.Step, taskUUID str
}
// add default volumes to the host configuration
hostConfig.Binds = utils.DedupStrings(append(hostConfig.Binds, e.volumes...))
hostConfig.Binds = utils.DeduplicateStrings(append(hostConfig.Binds, e.volumes...))
_, err := e.client.ContainerCreate(ctx, config, hostConfig, nil, nil, containerName)
if client.IsErrNotFound(err) {