Skip to content

Commit 326f0d7

Browse files
authored
fix: fix the wrong error return value (#526)
Signed-off-by: drawdrop <[email protected]>
1 parent f4b9082 commit 326f0d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/loadtester/loadtest.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ func (t *LoadTest) RunSuite(ctx context.Context) error {
236236
return err
237237
}
238238
if ctx.Err() != nil {
239-
return err
239+
return ctx.Err()
240240
}
241241

242242
var tracks, packets, dropped, errCount int64

0 commit comments

Comments
 (0)