From 45c13641faeff6d1570dd1c546460d84ba9052d6 Mon Sep 17 00:00:00 2001 From: Ben Gadbois Date: Tue, 18 Jun 2024 13:38:01 -0700 Subject: [PATCH] linter fix --- cmd/benchmark.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/benchmark.go b/cmd/benchmark.go index adf3c55..54aa2c7 100644 --- a/cmd/benchmark.go +++ b/cmd/benchmark.go @@ -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----")