Преглед изворни кода

chore: fix function name in comment (#1586)

Signed-off-by: oftenoccur <ezc5@sina.com>
oftenoccur пре 1 година
родитељ
комит
019edf38f3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      internal/common/eventmanager.go

+ 1 - 1
internal/common/eventmanager.go

@@ -1200,7 +1200,7 @@ func checkUserConditionOptions(user *dataprovider.User, conditions *dataprovider
 	return true
 	return true
 }
 }
 
 
-// checkConditionPatterns returns false if patterns are defined and no match is found
+// checkEventConditionPatterns returns false if patterns are defined and no match is found
 func checkEventConditionPatterns(name string, patterns []dataprovider.ConditionPattern) bool {
 func checkEventConditionPatterns(name string, patterns []dataprovider.ConditionPattern) bool {
 	if len(patterns) == 0 {
 	if len(patterns) == 0 {
 		return true
 		return true