Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladimir Stepanov committed Jun 15, 2022
1 parent 2b6fba1 commit 33f0243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/features/creating_container.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ requests := []GenericContainerRequest{
},
}

res, err := GenericParallelContainers(ctx, requests)
res, err := GenericParallelContainers(ctx, requests, GenericParallelOptions{})

if err != nil {
e, ok := err.(GenericParallelErrors)
Expand Down
2 changes: 1 addition & 1 deletion parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func genericContainerRunner(
wg.Done()
}

// GenericParallelContainers creates a generic containers with parameters in parallel mode
// GenericParallelContainers creates a generic containers with parameters and run it in parallel mode
func GenericParallelContainers(ctx context.Context, reqs []GenericContainerRequest, opt GenericParallelOptions) ([]Container, error) {
if opt.WorkersCount == 0 {
opt.WorkersCount = defaultWorkersCount
Expand Down

0 comments on commit 33f0243

Please sign in to comment.