Skip to content

Commit

Permalink
Fix concurrent map writes panic
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Oct 19, 2023
1 parent 94b9667 commit 9bb84c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BIN_NAME = ingress-perf
BIN_PATH = $(BIN_DIR)/$(BIN_NAME)
SOURCES = $(shell find . -type f -name "*.go")
CGO = 0
VEGETA_VERSION := 12.11.1
VEGETA_VERSION := 12.9.0

.PHONY: build lint clean

Expand Down
1 change: 0 additions & 1 deletion pkg/runner/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ func runBenchmark(cfg config.Config, clusterMetadata tools.ClusterMetadata) ([]t
for _, pod := range clientPods {
for i := 0; i < cfg.Procs; i++ {
func(p corev1.Pod) {
log.Debugf("Running %v in client pods", tool.Cmd())
errGroup.Go(func() error {
if cfg.Termination == "http" {
ep = fmt.Sprintf("http://%v%v", r.Spec.Host, cfg.Path)
Expand Down

0 comments on commit 9bb84c1

Please sign in to comment.