avoid data race.

This commit is contained in:
徐聪
2022-01-19 21:09:14 +08:00
parent 59ef894444
commit 238f49d65d
2 changed files with 5 additions and 10 deletions

View File

@@ -108,8 +108,7 @@ func (b *HRPBoomer) convertBoomerTask(testcase *TestCase) *boomer.Task {
}
}
config := runner.TestCase.Config
if err := runner.parseConfig(config); err != nil {
if err := runner.parseConfig(caseConfig); err != nil {
log.Error().Err(err).Msg("parse config failed")
return
}