Browse Source

chore: fix function name in comment (#1586)

Signed-off-by: oftenoccur <ezc5@sina.com>
oftenoccur 1 year ago
parent
commit
019edf38f3
1 changed files with 1 additions and 1 deletions
  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
 }
 
-// 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 {
 	if len(patterns) == 0 {
 		return true