mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix(测试计划): 修复执行测试计划报空指针
This commit is contained in:
parent
6ea6a02fbf
commit
0b768fa446
@ -298,7 +298,8 @@ public class ApiScenarioExecuteService {
|
||||
Map<String, String> diffEnvMap = new HashMap<>();
|
||||
Map<String, String> envMap = runModeConfig.getEnvMap();
|
||||
planEnvMap.forEach((k,v)->{
|
||||
if (envMap.get(k)!=null){
|
||||
if (envMap != null && envMap.get(k)!=null){
|
||||
|
||||
diffEnvMap.put(k,envMap.get(k));
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user