Skip to content

Commit

Permalink
Update pkg/tanka/parallel.go
Browse files Browse the repository at this point in the history
Co-authored-by: Javier Palomo <javier.palomo@grafana.com>
  • Loading branch information
julienduchesne and jvrplmlmn committed Aug 9, 2023
1 parent 165c0e4 commit 3f8df7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tanka/parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func parallelLoadEnvironments(envs []*v1alpha1.Environment, opts parallelOpts) (
}

if opts.Parallelism > len(envs) {
log.Info().Int("parallelism", opts.Parallelism).Int("envs", len(envs)).Msg("Reducing parallelism to number of environments")
log.Info().Int("parallelism", opts.Parallelism).Int("envs", len(envs)).Msg("Reducing parallelism to match number of environments")
opts.Parallelism = len(envs)
}

Expand Down

0 comments on commit 3f8df7f

Please sign in to comment.