models/gather_model.go | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
models/gather_model.go
@@ -114,6 +114,9 @@ }) newRecords = append(newRecords, record) } if len(newRecords) == 0 { return nil } aggregation, err := analyzeAndAggregate(newRecords) if err != nil { @@ -402,6 +405,9 @@ } func analyzeAndAggregate(records []*GatherRecord) (map[GatherLocationTime]set.StringSet, error) { if len(records) == 0 { return nil, nil } aggregation := make(map[GatherLocationTime]set.StringSet) domainIds := set.NewStringSet() for _, record := range records {