Skip to content

Commit 210a378

Browse files
committed
feat(correlation-rules): add rule_group_by_def to support grouping in correlation rules
1 parent bf386ad commit 210a378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/main/java/com/park/utmstack/domain/correlation/rules/UtmCorrelationRules.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public void setDeduplicateBy(List<String> deduplicateBy) throws UtmSerialization
148148
private List<String> groupBy;
149149

150150
public List<String> getGroupBy() throws UtmSerializationException {
151-
if (StringUtils.hasText(deduplicateByDef))
151+
if (StringUtils.hasText(ruleGroupByDef))
152152
groupBy = UtilSerializer.jsonDeserializeList(String.class, ruleGroupByDef);
153153
return groupBy == null ? new ArrayList<>() : groupBy;
154154
}

0 commit comments

Comments
 (0)