Skip to content

Commit

Permalink
Update pkg/benchmark/benchmark.go
Browse files Browse the repository at this point in the history
  • Loading branch information
spowelljr authored Oct 13, 2023
1 parent cc36f19 commit df07d69
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/benchmark/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,8 @@ func NewBenchmarkRunConfig(profile, imageList, iterList, benchMethodList string,
res.Images[image] = struct{}{}
}

if iterList == "" {
split = Iter
} else {
split = Iter
if iterList != "" {
split = strings.Split(iterList, ",")
for i, s := range split {
split[i] = " " + s
Expand Down

0 comments on commit df07d69

Please sign in to comment.