Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bengadbois committed Jun 18, 2024
1 parent 7687ecc commit 45c1364
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/benchmark.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,7 @@ var benchmarkCmd = &cobra.Command{
//combine individual targets to a total one
globalStats := []pewpew.RequestStat{}
for i := range benchmarkCfg.Targets {
for j := range targetRequestStats[i] {
globalStats = append(globalStats, targetRequestStats[i][j])
}
globalStats = append(globalStats, targetRequestStats[i]...)
}
if len(benchmarkCfg.Targets) > 1 {
fmt.Println("----Global----")
Expand Down

0 comments on commit 45c1364

Please sign in to comment.