Skip to content

Commit e72f5b0

Browse files
Fix typo causing panic in csv repoorter with multiple instances
1 parent c855af1 commit e72f5b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stats/csv.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ func (r *CSV) Report(from []Instance) {
6262
clients := from[0].Clients
6363
for i := range from[1:] {
6464
total.Combine(from[1+i].Total)
65-
clients += from[1+1].Clients
65+
clients += from[1+i].Clients
6666
}
6767
compute := from[0].Hostname
6868
if len(from) > 1 {

0 commit comments

Comments
 (0)