fix(性能测试): 修复后台查询监控空指针
This commit is contained in:
parent
3e95be5e71
commit
6b19a77cd5
|
@ -198,6 +198,10 @@ public class MetricQueryService {
|
|||
});
|
||||
|
||||
ReportTimeInfo reportTimeInfo = performanceReportService.getReportTimeInfo(reportId);
|
||||
// 处理reportTime 空指针报错
|
||||
if (reportTimeInfo == null) {
|
||||
return new ArrayList<>();
|
||||
}
|
||||
MetricRequest metricRequest = new MetricRequest();
|
||||
metricRequest.setMetricDataQueries(list);
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue